last applied configurations ...
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user