last ...
This commit is contained in:
@@ -140,6 +140,15 @@ input group "In Drawdown Positions Protecting";
|
||||
// input bool eaDoSupportOnConditions = true; // Do Support on Conditions
|
||||
// input int eaDelayBetweenTwoSupport = 60; // Delay Between To Support in Second
|
||||
|
||||
//
|
||||
// Protect ...
|
||||
input group "Protect";
|
||||
input bool eaAllowProtect = true; // Allow Proptecting
|
||||
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
|
||||
input double eaProtectionVolumeMultiplier = 2; // Protection Volume Multiplier
|
||||
|
||||
//
|
||||
// Partial Close (In Drawdown) ...
|
||||
input group "Partial Close";
|
||||
@@ -625,6 +634,14 @@ bool InitialEA()
|
||||
// eaTradeHandler.DoSupportOnConditions(eaDoSupportOnConditions);
|
||||
// eaTradeHandler.DelayBetweenTwoSupport(eaDelayBetweenTwoSupport);
|
||||
|
||||
//
|
||||
// Protect ...
|
||||
eaTradeHandler.AllowProtect(eaAllowProtect);
|
||||
eaTradeHandler.ProtectOnConditions(eaProtectOnConditions);
|
||||
eaTradeHandler.AllowDirectionProtct(eaAllowDirectionProtct);
|
||||
eaTradeHandler.ProtectionStartDistance(eaProtectionStartDistance);
|
||||
eaTradeHandler.ProtectionVolumeMultiplier(eaProtectionVolumeMultiplier);
|
||||
|
||||
//
|
||||
// Partial Close (In Profit) ...
|
||||
eaTradeHandler.PartialCloseInDrawdownDistance(eaPartialCloseInDrawdownDistance);
|
||||
|
||||
Reference in New Issue
Block a user