This commit is contained in:
2024-07-30 05:01:36 +03:30
parent 1f9c79ea42
commit 9b660bd7da
+7 -7
View File
@@ -45,8 +45,8 @@ int eaMaxAllowedLongs = 1; // Max Allowed Long Positions
int eaMaxAllowedShorts = 1; // Max Allowed Short Positions
//
double eaTPPoint = 200; // Static TP Point
double eaSLPoint = 200; // Static SL Point
input double eaTPPoint = 100; // Static TP Point
input double eaSLPoint = 100; // Static SL Point
//
bool eaIgnoreTP = false; // Ignore TP
@@ -318,10 +318,10 @@ bool InitialEA()
eaMaxAllowedLongs, // Max Longs
eaMaxAllowedShorts // Max Shorts
);
xchmStrategy.EnableXCHM(false);
xchmStrategy.EnableXCHHK(false);
xchmStrategy.EnableXCHSTR(false);
xchmStrategy.EnableXCHCHE(true);
xchmStrategy.EnableXCHM(true);
xchmStrategy.EnableXCHHK(true);
xchmStrategy.EnableXCHSTR(true);
xchmStrategy.EnableXCHCHE(false);
xchmStrategy.SetAlertLogAlerts(true);
xchmStrategy.DrawImportantAreas(false);
xchmStrategy.SetAlertEnableAlerts(true);
@@ -376,7 +376,7 @@ bool InitialEA()
iStrategy.EnableXCHM(true);
iStrategy.EnableXCHHK(true);
iStrategy.EnableXCHSTR(true);
iStrategy.EnableXCHCHE(true);
iStrategy.EnableXCHCHE(false);
iStrategy.SetAlertLogAlerts(true);
iStrategy.DrawImportantAreas(false);
iStrategy.SetAlertEnableAlerts(true);