add supports for zone recovery ...
This commit is contained in:
@@ -49,15 +49,18 @@ input bool x121EAGetVerificationFromOtherTimeFrames = true; // Get Verifications
|
||||
// Risk Management ...
|
||||
input group "Risk Management";
|
||||
input double x121EAVolume = 0.01; // Static Volume
|
||||
input double x121EATPPoint = 60; // TP Point
|
||||
input double x121EASLPoint = 300; // SL Point
|
||||
input double x121EATPPoint = 100; // TP Point
|
||||
input double x121EASLPoint = 100; // SL Point
|
||||
input int x121EAMaxAllowedTrades = 1; // Max Allowed Positions
|
||||
input bool x121EAIgnoreSL = true; // Ignore Calculated SL
|
||||
input bool x121EAIgnoreSL = false; // Ignore Calculated SL
|
||||
input bool x121EAIgnoreTP = false; // Ignore Calculated TP
|
||||
input bool x121EAUseSupport = false; // Use Support Signals
|
||||
input bool x121EAAllowGrid = true; // Allow Grid Signals
|
||||
input bool x121EAAllowGrid = false; // Allow Grid Signals
|
||||
input double x121EAGridDistance = 100; // Grid Distance
|
||||
input double x121EAGridVolumeMultiplier = 2; // Grid Volume Multiplier
|
||||
input bool x121EAAllowRecovery = true; // Allow Recovery Signals
|
||||
input double x121EARecoveryDistance = 100; // Recovery Distance
|
||||
input double x121EARecoveryVolumeMultiplier = 2; // Recovery Volume Multiplier
|
||||
input double x121EAMinRequiredProfitPerTrade = 0.5; // Minimum Required Profit for Hedging
|
||||
input double x121EAMinRequiredProfitPerVolumeFactor = 0.01; // Minimum Required Profit for Hedging Per Volume
|
||||
input int x121EARestingAfterHedge = 300; // Resting Seconds After Hedge
|
||||
@@ -195,6 +198,12 @@ bool InitialEA()
|
||||
x121EA.GridDistance(x121EAGridDistance);
|
||||
x121EA.GridVolumeMultiplier(x121EAGridVolumeMultiplier);
|
||||
|
||||
//
|
||||
// Recovery System ...
|
||||
x121EA.AllowRecovery(x121EAAllowRecovery);
|
||||
x121EA.RecoveryDistance(x121EARecoveryDistance);
|
||||
x121EA.RecoveryVolumeMultiplier(x121EARecoveryVolumeMultiplier);
|
||||
|
||||
//
|
||||
// Configure Alert ...
|
||||
x121EA.SetAlertPrefix(ShortName);
|
||||
|
||||
Reference in New Issue
Block a user