last works on protection ...
This commit is contained in:
@@ -144,6 +144,7 @@ input group "In Drawdown Positions Protecting";
|
||||
// Protect ...
|
||||
input group "Protect";
|
||||
input bool eaAllowProtect = true; // Allow Proptecting
|
||||
input int eaProtectionDelay = 60; // Delay Between two Protection in Secconds
|
||||
input bool eaProtectOnConditions = true; // Do Protection only when Conditions happens
|
||||
input bool eaAllowDirectionProtct = false; // Allow also Directional Protect
|
||||
input double eaProtectionStartDistance = 50; // Protection Start Drawdown in Profit
|
||||
@@ -637,6 +638,7 @@ bool InitialEA()
|
||||
//
|
||||
// Protect ...
|
||||
eaTradeHandler.AllowProtect(eaAllowProtect);
|
||||
eaTradeHandler.ProtectionDelay(eaProtectionDelay);
|
||||
eaTradeHandler.ProtectOnConditions(eaProtectOnConditions);
|
||||
eaTradeHandler.AllowDirectionProtct(eaAllowDirectionProtct);
|
||||
eaTradeHandler.ProtectionStartDistance(eaProtectionStartDistance);
|
||||
|
||||
Reference in New Issue
Block a user