last ...
This commit is contained in:
@@ -45,8 +45,8 @@ int eaMaxAllowedLongs = 1; // Max Allowed Long Positions
|
||||
int eaMaxAllowedShorts = 1; // Max Allowed Short Positions
|
||||
|
||||
//
|
||||
input double eaTPPoint = 100; // Static TP Point
|
||||
input double eaSLPoint = 100; // Static SL Point
|
||||
double eaTPPoint = 150; // Static TP Point
|
||||
double eaSLPoint = 100; // Static SL Point
|
||||
|
||||
//
|
||||
bool eaIgnoreTP = false; // Ignore TP
|
||||
@@ -277,16 +277,16 @@ bool InitialEA()
|
||||
//
|
||||
// Configure Trailing ...
|
||||
eaTradeHandler.AllowTrailStops(false);
|
||||
eaTradeHandler.TrailStepInPoint(10);
|
||||
eaTradeHandler.TrailStartInPoint(20);
|
||||
eaTradeHandler.TrailStepInPoint(30);
|
||||
eaTradeHandler.TrailStartInPoint(100);
|
||||
eaTradeHandler.IgnoreTPOnTrail(true);
|
||||
eaTradeHandler.TrailBasedOnProfit(true);
|
||||
|
||||
//
|
||||
// Configure Recovery ...
|
||||
eaTradeHandler.AllowRecover(false);
|
||||
eaTradeHandler.RecoveryTPPoint(50);
|
||||
eaTradeHandler.MaxAllowedRecover(3);
|
||||
eaTradeHandler.RecoveryTPPoint(300);
|
||||
eaTradeHandler.MaxAllowedRecover(0);
|
||||
eaTradeHandler.MaxAllowedRecoveryVolume(0.1);
|
||||
eaTradeHandler.RecoverySLPoint(200);
|
||||
eaTradeHandler.RecoveryVolumeMultiplier(2);
|
||||
@@ -321,7 +321,7 @@ bool InitialEA()
|
||||
xchmStrategy.EnableXCHM(true);
|
||||
xchmStrategy.EnableXCHHK(true);
|
||||
xchmStrategy.EnableXCHSTR(true);
|
||||
xchmStrategy.EnableXCHCHE(true);
|
||||
xchmStrategy.EnableXCHCHE(false);
|
||||
xchmStrategy.SetAlertLogAlerts(true);
|
||||
xchmStrategy.DrawImportantAreas(false);
|
||||
xchmStrategy.SetAlertEnableAlerts(true);
|
||||
|
||||
Reference in New Issue
Block a user