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 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);
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user