Complete Grid System, Apply Refactor on Signalnfo and Change it To TradeHandler ...

This commit is contained in:
2024-06-15 08:06:40 +03:30
parent 87e3cb2661
commit df1cfae022
6 changed files with 1698 additions and 1125 deletions
+20 -17
View File
@@ -42,27 +42,27 @@ input group "Signals";
input string x121EASymbols = "EURUSDb"; // Symbols
input bool x121EAAllowLong = true; // Allow Long Trades
input bool x121EAAllowShort = true; // Allow Short Trades
input int x121EAReuiredSignalVerifications = 3; // Required Verifications for Signals
input int x121EAReuiredSignalVerifications = 4; // Required Verifications for Signals
input bool x121EAGetVerificationFromOtherTimeFrames = true; // Get Verifications from Other Time Frames
//
// 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 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 Volume
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 x121EAAllowGrid = true; // Allow Grid Signals
input double x121EAGridDistance = 100; // Grid Distance
input double x121EAGridVolumeMultiplier = 2; // Grid 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
input int x121EACloseOnSpecificTime = -1; // Close All Trades in Specific Time
input bool x121EACloseOnOpposit = false; // Close all Positions on Opposit
//
// Alert ...
@@ -187,8 +187,11 @@ bool InitialEA()
x121EA.GetVerificationFromOtherTimeFrames(x121EAGetVerificationFromOtherTimeFrames);
//
x121EA.UseGrid(x121EAUseGrid);
x121EA.UseSupport(x121EAUseSupport);
//
// Grid System ...
x121EA.AllowGrid(x121EAAllowGrid);
x121EA.GridDistance(x121EAGridDistance);
x121EA.GridVolumeMultiplier(x121EAGridVolumeMultiplier);