This commit is contained in:
2024-06-12 18:38:23 +03:30
parent 834090a2be
commit 0fa788d126
3 changed files with 40 additions and 55 deletions
+21
View File
@@ -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