This commit is contained in:
2024-06-24 21:46:41 +03:30
parent e41548979e
commit 5d12ff7958
7 changed files with 1608 additions and 49 deletions
+14 -13
View File
@@ -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;
}