last applied configurations ...

This commit is contained in:
2024-07-31 09:17:47 +03:30
parent aadcf4f647
commit cf1ecfaed5
2 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ int eaMaxAllowedShorts = 1; // Max Allowed Short Positions
//
double eaTPPoint = 150; // Static TP Point
double eaSLPoint = 100; // Static SL Point
double eaSLPoint = 500; // Static SL Point
//
bool eaIgnoreTP = false; // Ignore TP
@@ -284,8 +284,8 @@ bool InitialEA()
//
// Configure Recovery ...
eaTradeHandler.AllowRecover(false);
eaTradeHandler.RecoveryTPPoint(300);
eaTradeHandler.AllowRecover(true);
eaTradeHandler.RecoveryTPPoint(150);
eaTradeHandler.MaxAllowedRecover(0);
eaTradeHandler.MaxAllowedRecoveryVolume(0.1);
eaTradeHandler.RecoverySLPoint(200);
+16 -16
View File
@@ -742,22 +742,22 @@ public:
return result;
}
//
result =
//
(hasLong &&
bullishTrend.IsValid())
//
||
//
(!hasLong &&
bearishTrend.IsValid())
//
;
if (!result)
{
return result;
}
// //
// result =
// //
// (hasLong &&
// bullishTrend.IsValid())
// //
// ||
// //
// (!hasLong &&
// bearishTrend.IsValid())
// //
// ;
// if (!result)
// {
// return result;
// }
//
DestroyImportantAreas();