last ...
This commit is contained in:
@@ -729,6 +729,26 @@ public:
|
||||
mReuiredSignalVerifications = value;
|
||||
}
|
||||
|
||||
//
|
||||
int MaxAllowedTrades()
|
||||
{
|
||||
return mMaxAllowedTrades;
|
||||
}
|
||||
|
||||
//
|
||||
void MaxAllowedTrades(int value)
|
||||
{
|
||||
//
|
||||
if (value < 0)
|
||||
{
|
||||
value = 0;
|
||||
}
|
||||
|
||||
//
|
||||
mMaxAllowedTrades = value;
|
||||
mTrader.SetMaxAllowedPositions(value);
|
||||
}
|
||||
|
||||
//
|
||||
bool IsEnable()
|
||||
{
|
||||
@@ -1489,6 +1509,7 @@ private:
|
||||
double mSLPoint; // SL Point
|
||||
bool mIgnoreTP; // Ignore Calculated TP
|
||||
bool mIgnoreSL; // Ignore Calculated SL
|
||||
int mMaxAllowedTrades; // Max Alloed Positions
|
||||
bool mCloseOnOpposit; // Close all Positions on Opposit
|
||||
int mReuiredSignalVerifications; // Required Verifications for Validate Signals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user