last works ...

This commit is contained in:
2024-06-12 06:02:38 +03:30
parent aaf55da2de
commit 6da0c05cdf
15 changed files with 1042 additions and 1968 deletions
+9 -3
View File
@@ -1879,7 +1879,9 @@ struct X121SignalGenerator
bool _allowShort, // Allow Short Signals
double _volume = 0.01, // Volume
double _slPoint = 0, // SL Point
double _tpPoint = 30 // TP Point
bool _ignoreSL = false, // Ignore Calculated SL
double _tpPoint = 30, // TP Point
bool _ignoreTP = false // Ignore Calculated TP
)
{
//
@@ -1970,8 +1972,12 @@ struct X121SignalGenerator
X_ORDER_MODE_MARKET,
mEntry,
_volume,
0, // mSL,
mTP //
_ignoreSL
? 0
: mSL,
_ignoreTP
? 0
: mTP //
);
if (!result)
{