complete grid mechanism ...
This commit is contained in:
@@ -48,18 +48,21 @@ 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 int x121EAMaxAllowedTrades = 1; // Max Allowed Positions
|
||||
input bool x121EAIgnoreSL = true; // Ignore Calculated SL
|
||||
input bool x121EAIgnoreTP = false; // Ignore Calculated TP
|
||||
input bool x121EAUseSupport = false; // Use Support Signals
|
||||
input double x121EAMinRequiredProfitPerTrade = 0; // Minimum Required Profit for Hedging
|
||||
input double x121EAMinRequiredProfitPerVolumeFactor = 0; // Minimum Required Profit for Hedging Per Velume
|
||||
input int x121EARestingAfterHedge = 0; // Resting Seconds After Hedge
|
||||
input int x121EACloseOnSpecificTime = -1; // Close All Trades in Specific Time
|
||||
input bool x121EACloseOnOpposit = false; // Close all Positions on Opposit
|
||||
input double x121EAVolume = 0.01; // Static Volume
|
||||
input double x121EATPPoint = 60; // TP Point
|
||||
input double x121EASLPoint = 300; // SL Point
|
||||
input int x121EAMaxAllowedTrades = 1; // Max Allowed Positions
|
||||
input bool x121EAIgnoreSL = true; // Ignore Calculated SL
|
||||
input bool x121EAIgnoreTP = false; // Ignore Calculated TP
|
||||
input bool x121EAUseSupport = false; // Use Support Signals
|
||||
input bool x121EAUseGrid = true; // Use Grid Signals
|
||||
input double x121EAGridDistance = 50; // Grid Distance
|
||||
input double x121EAGridVolumeMultiplier = 2; // Grid Volume Multiplier
|
||||
input double x121EAMinRequiredProfitPerTrade = 1; // Minimum Required Profit for Hedging
|
||||
input double x121EAMinRequiredProfitPerVolumeFactor = 0.1; // Minimum Required Profit for Hedging Per Velume
|
||||
input int x121EARestingAfterHedge = 0; // Resting Seconds After Hedge
|
||||
input int x121EACloseOnSpecificTime = -1; // Close All Trades in Specific Time
|
||||
input bool x121EACloseOnOpposit = false; // Close all Positions on Opposit
|
||||
|
||||
//
|
||||
// Alert ...
|
||||
@@ -174,7 +177,6 @@ bool InitialEA()
|
||||
x121EA.IgnoreTP(x121EAIgnoreTP);
|
||||
x121EA.AllowLong(x121EAAllowLong);
|
||||
x121EA.AllowShort(x121EAAllowShort);
|
||||
x121EA.UseSupport(x121EAUseSupport);
|
||||
x121EA.CloseOnOpposit(x121EACloseOnOpposit);
|
||||
x121EA.MaxAllowedTrades(x121EAMaxAllowedTrades);
|
||||
x121EA.RestingAfterHedge(x121EARestingAfterHedge);
|
||||
@@ -184,6 +186,12 @@ bool InitialEA()
|
||||
x121EA.MinRequiredProfitPerVolumeFactor(x121EAMinRequiredProfitPerVolumeFactor);
|
||||
x121EA.GetVerificationFromOtherTimeFrames(x121EAGetVerificationFromOtherTimeFrames);
|
||||
|
||||
//
|
||||
x121EA.UseGrid(x121EAUseGrid);
|
||||
x121EA.UseSupport(x121EAUseSupport);
|
||||
x121EA.GridDistance(x121EAGridDistance);
|
||||
x121EA.GridVolumeMultiplier(x121EAGridVolumeMultiplier);
|
||||
|
||||
//
|
||||
// Configure Alert ...
|
||||
x121EA.SetAlertPrefix(ShortName);
|
||||
|
||||
Reference in New Issue
Block a user