last works on GUI and also Comment Freezing and Supporting Properties and Functionality ...
This commit is contained in:
@@ -123,22 +123,22 @@ input group "In Drawdown Positions Protecting";
|
||||
|
||||
//
|
||||
// Freeze ...
|
||||
input group "Freeze";
|
||||
input bool eaAllowFreeze = false; // Allow Freezing
|
||||
input double eaFreezeDistance = 100; // Specify Freeze Start Drawdown in Point
|
||||
input bool eaRemoveFreezedPositionTPSL = true; // Remove Freezed Positions TPSL
|
||||
input bool eaDisableTrailWhenFreezedPosition = true; // Disable Trail when has Freezed Position
|
||||
// input group "Freeze";
|
||||
// input bool eaAllowFreeze = false; // Allow Freezing
|
||||
// input double eaFreezeDistance = 100; // Specify Freeze Start Drawdown in Point
|
||||
// input bool eaRemoveFreezedPositionTPSL = true; // Remove Freezed Positions TPSL
|
||||
// input bool eaDisableTrailWhenFreezedPosition = true; // Disable Trail when has Freezed Position
|
||||
|
||||
//
|
||||
// Support ...
|
||||
input group "Support";
|
||||
input bool eaAllowSupport = false; // Allow Support
|
||||
input double eaSupportStartDistance = 0; // Specify Start Support Drawdown in Point
|
||||
input int eaMaxAllowedSupport = 2; // Max Allowed Number of Support Position
|
||||
input double eaSupportVolumeMultiplier = 1; // Specify Support Volume Multiplier
|
||||
input bool eaMultiplySupportLevelOnVolume = false; // Multiply Support Level on Volume Multiplier
|
||||
input bool eaDoSupportOnConditions = true; // Do Support on Conditions
|
||||
input int eaDelayBetweenTwoSupport = 60; // Delay Between To Support in Second
|
||||
// input group "Support";
|
||||
// input bool eaAllowSupport = false; // Allow Support
|
||||
// input double eaSupportStartDistance = 0; // Specify Start Support Drawdown in Point
|
||||
// input int eaMaxAllowedSupport = 2; // Max Allowed Number of Support Position
|
||||
// input double eaSupportVolumeMultiplier = 1; // Specify Support Volume Multiplier
|
||||
// input bool eaMultiplySupportLevelOnVolume = false; // Multiply Support Level on Volume Multiplier
|
||||
// input bool eaDoSupportOnConditions = true; // Do Support on Conditions
|
||||
// input int eaDelayBetweenTwoSupport = 60; // Delay Between To Support in Second
|
||||
|
||||
//
|
||||
// Partial Close (In Drawdown) ...
|
||||
@@ -610,20 +610,20 @@ bool InitialEA()
|
||||
|
||||
//
|
||||
// Freeze ...
|
||||
eaTradeHandler.AllowFreeze(eaAllowFreeze);
|
||||
eaTradeHandler.FreezeDistance(eaFreezeDistance);
|
||||
eaTradeHandler.RemoveFreezedPositionTPSL(eaRemoveFreezedPositionTPSL);
|
||||
eaTradeHandler.DisableTrailWhenFreezedPosition(eaDisableTrailWhenFreezedPosition);
|
||||
// eaTradeHandler.AllowFreeze(eaAllowFreeze);
|
||||
// eaTradeHandler.FreezeDistance(eaFreezeDistance);
|
||||
// eaTradeHandler.RemoveFreezedPositionTPSL(eaRemoveFreezedPositionTPSL);
|
||||
// eaTradeHandler.DisableTrailWhenFreezedPosition(eaDisableTrailWhenFreezedPosition);
|
||||
|
||||
//
|
||||
// Support ...
|
||||
eaTradeHandler.AllowSupport(eaAllowSupport);
|
||||
eaTradeHandler.SupportStartDistance(eaSupportStartDistance);
|
||||
eaTradeHandler.MaxAllowedSupport(eaMaxAllowedSupport);
|
||||
eaTradeHandler.SupportVolumeMultiplier(eaSupportVolumeMultiplier);
|
||||
eaTradeHandler.MultiplySupportLevelOnVolume(eaMultiplySupportLevelOnVolume);
|
||||
eaTradeHandler.DoSupportOnConditions(eaDoSupportOnConditions);
|
||||
eaTradeHandler.DelayBetweenTwoSupport(eaDelayBetweenTwoSupport);
|
||||
// eaTradeHandler.AllowSupport(eaAllowSupport);
|
||||
// eaTradeHandler.SupportStartDistance(eaSupportStartDistance);
|
||||
// eaTradeHandler.MaxAllowedSupport(eaMaxAllowedSupport);
|
||||
// eaTradeHandler.SupportVolumeMultiplier(eaSupportVolumeMultiplier);
|
||||
// eaTradeHandler.MultiplySupportLevelOnVolume(eaMultiplySupportLevelOnVolume);
|
||||
// eaTradeHandler.DoSupportOnConditions(eaDoSupportOnConditions);
|
||||
// eaTradeHandler.DelayBetweenTwoSupport(eaDelayBetweenTwoSupport);
|
||||
|
||||
//
|
||||
// Partial Close (In Profit) ...
|
||||
|
||||
Reference in New Issue
Block a user