This commit is contained in:
2024-05-27 09:06:04 +03:30
parent c1aa4fe888
commit 30dd2f1aaf
13 changed files with 2337 additions and 368 deletions
+3 -1
View File
@@ -51,6 +51,7 @@ public:
double maxAllowedSpread, // Max Allowed Spred for Opening Trades
int maxAllowedPositions, // Max Allowed Positions
double maxAllowedDrawdownFactor, // Max Allowed Drawdown Factor
double staticVolume, // Static Volume for Positions
//
// Position Management ...
bool allowLong = true, // Allow Long Trades
@@ -84,6 +85,7 @@ public:
allowShort,
minProfitPerTrade,
minProfitPerVolumeFactor,
staticVolume,
onStopLossTriggered,
onTakeProfitTriggered,
onDealsChangedHandler,
@@ -226,7 +228,7 @@ public:
//
// Handl Management Actions ...
// if returns true, it is going to prevent for processing forward ...
bool HandleStateManagement() override
bool HandleStateManagement(XSignal &signals[]) override
{
//
// TODO: Implement this ...