add support for xtrend indicator in x121 setup helper ...

This commit is contained in:
2025-02-09 22:51:56 +03:30
parent c79ee42d7c
commit 714a905a2a
5 changed files with 1416 additions and 71 deletions
+3 -3
View File
@@ -22,7 +22,7 @@
//
// Imports ...
#include "../../Classes/x-saherelm.x-expert.class.mq5"
#include "../../Helpers/x-saherelm.x121.xatr.helper.mq5"
#include "../../Helpers/x-saherelm.x121.xct.helper.mq5"
#include "../../Helpers/x-saherelm.x121.xcc.helper.mq5"
#include "../Classes/x-121.smc.x-tradehandler.class.mq5"
#include "../Libraries/x-121.smc.lib.mq5"
@@ -1341,8 +1341,8 @@ class XC121SMCExpert : public XCBaseExpert
ZeroMemory(mTradeHandler);
//
delet xccHelper;
delet xctHelper;
delete xccHelper;
delete xctHelper;
delete mTradeHandler;
//
@@ -758,13 +758,10 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
x121Inputs.xatrInputs.atrSmoothingMode = X_MA_MODE_EMA;
//
// XCC ...
x121Inputs.xccInputs.showCandles = false; // false;
//
// XCT ...
x121Inputs.xctInputs.clr = clrBlueViolet;
x121Inputs.xctInputs.showCandleTime = false; // false;
// XTREND ...
x121Inputs.xtrendInputs.showUpTrend = showAll || false;
x121Inputs.xtrendInputs.showDownTrend = showAll || false;
x121Inputs.xtrendInputs.showOnlyTrendStart = showAll || false;
//
// XPV ...