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 eaTPPoint = 150; // Static TP Point
double eaSLPoint = 100; // Static SL Point double eaSLPoint = 500; // Static SL Point
// //
bool eaIgnoreTP = false; // Ignore TP bool eaIgnoreTP = false; // Ignore TP
@@ -284,8 +284,8 @@ bool InitialEA()
// //
// Configure Recovery ... // Configure Recovery ...
eaTradeHandler.AllowRecover(false); eaTradeHandler.AllowRecover(true);
eaTradeHandler.RecoveryTPPoint(300); eaTradeHandler.RecoveryTPPoint(150);
eaTradeHandler.MaxAllowedRecover(0); eaTradeHandler.MaxAllowedRecover(0);
eaTradeHandler.MaxAllowedRecoveryVolume(0.1); eaTradeHandler.MaxAllowedRecoveryVolume(0.1);
eaTradeHandler.RecoverySLPoint(200); eaTradeHandler.RecoverySLPoint(200);
+16 -16
View File
@@ -742,22 +742,22 @@ public:
return result; return result;
} }
// // //
result = // result =
// // //
(hasLong && // (hasLong &&
bullishTrend.IsValid()) // bullishTrend.IsValid())
// // //
|| // ||
// // //
(!hasLong && // (!hasLong &&
bearishTrend.IsValid()) // bearishTrend.IsValid())
// // //
; // ;
if (!result) // if (!result)
{ // {
return result; // return result;
} // }
// //
DestroyImportantAreas(); DestroyImportantAreas();