last ...
This commit is contained in:
@@ -181,38 +181,38 @@ struct XMRBInputs
|
||||
{
|
||||
//
|
||||
// Ribbon 1 ...
|
||||
fast1Length = 20; // Fast
|
||||
slow1Length = 50; // Slow
|
||||
fast1Length = 50; // Fast
|
||||
slow1Length = 100; // Slow
|
||||
r1AppliedTo = PRICE_HIGH; // AppliedTo
|
||||
|
||||
//
|
||||
// Ribbon 2 ...
|
||||
fast2Length = 20; // Fast
|
||||
slow2Length = 50; // Slow
|
||||
fast2Length = 50; // Fast
|
||||
slow2Length = 100; // Slow
|
||||
r2AppliedTo = PRICE_OPEN; // AppliedTo
|
||||
|
||||
//
|
||||
// Ribbon 3 ...
|
||||
fast3Length = 20; // Fast
|
||||
slow3Length = 50; // Slow
|
||||
fast3Length = 50; // Fast
|
||||
slow3Length = 100; // Slow
|
||||
r3AppliedTo = PRICE_CLOSE; // AppliedTo
|
||||
|
||||
//
|
||||
// Ribbon 4 ...
|
||||
fast4Length = 20; // Fast
|
||||
slow4Length = 50; // Slow
|
||||
fast4Length = 50; // Fast
|
||||
slow4Length = 100; // Slow
|
||||
r4AppliedTo = PRICE_MEDIAN; // AppliedTo
|
||||
|
||||
//
|
||||
// Ribbon 5 ...
|
||||
fast5Length = 20; // Fast
|
||||
slow5Length = 50; // Slow
|
||||
fast5Length = 50; // Fast
|
||||
slow5Length = 100; // Slow
|
||||
r5AppliedTo = PRICE_TYPICAL; // AppliedTo
|
||||
|
||||
//
|
||||
// Ribbon 6 ...
|
||||
fast6Length = 20; // Fast
|
||||
slow6Length = 50; // Slow
|
||||
fast6Length = 50; // Fast
|
||||
slow6Length = 100; // Slow
|
||||
r6AppliedTo = PRICE_LOW; // AppliedTo
|
||||
|
||||
//
|
||||
@@ -1453,7 +1453,8 @@ private:
|
||||
{
|
||||
//
|
||||
int totalBars = CountBars();
|
||||
if (totalBars > 1000) {
|
||||
if (totalBars > 1000)
|
||||
{
|
||||
totalBars = 1000;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user