last works ...
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user