add some new conditions to XPV and also implement usage of XRL in setup class ...

This commit is contained in:
2024-07-01 14:27:18 +03:30
parent 0add5e2e16
commit 852de5889d
3 changed files with 244 additions and 4 deletions
+8 -2
View File
@@ -63,8 +63,8 @@ input group "Risk Management";
input double x121EAVolume = 0.01; // Static Volume
input double x121EATPPoint = 1000; // TP Point
input double x121EASLPoint = 1000; // SL Point
input bool x121EAIgnoreSL = false; // Ignore Calculated SL
input bool x121EAIgnoreTP = false; // Ignore Calculated TP
input bool x121EAIgnoreSL = false; // Ignore Calculated SL
input bool x121EAIgnoreTP = false; // Ignore Calculated TP
input bool x121EACloseOnOpposit = false; // Close all Positions on Opposit
input int x121EAMaxAllowedTrades = 0; // Max Allowed Positions Per Symbol
input bool x121EAUseMaxAllowedPerDirection = true; // Use Max Allowed Positions Per Direction
@@ -434,6 +434,12 @@ bool InitialEA()
//
void X121PreConfigureStyles(X121SetupInputs &inputs)
{
//
// XRL ...
inputs.rlInputs.showFast = false;
inputs.rlInputs.showSlow = false;
inputs.rlInputs.showVerifier = false;
//
// XHTD ...
inputs.htdInputs.show = false;