convert input variables to valid inputs ...

This commit is contained in:
2024-06-14 09:06:57 +03:30
parent 487896a078
commit a78cf432ac
+29 -28
View File
@@ -31,43 +31,44 @@
//
// Common ...
long x121EAMagicNumber = 78692110; // Magic Number
int x121EASlippage = 10; // Slippgae
//
// Trading Symbols ...
string x121EASymbols = "EURUSDb"; // Symbols
// EURUSDb,GBPUSDb,XAUUSDb,USDCHFb,USDJPYb
input group "Common";
input long x121EAMagicNumber = 78692110; // Magic Number
input int x121EASlippage = 10; // Slippgae
//
// Signals ...
bool x121EAAllowLong = true; // Allow Long Trades
bool x121EAAllowShort = true; // Allow Short Trades
int x121EAReuiredSignalVerifications = 2; // Required Verifications for Signals
bool x121EAGetVerificationFromOtherTimeFrames = true; // Get Verifications from Other Time Frames
// EURUSDb,GBPUSDb,XAUUSDb,USDCHFb,USDJPYb
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 bool x121EAGetVerificationFromOtherTimeFrames = true; // Get Verifications from Other Time Frames
//
// Risk Management ...
double x121EAVolume = 0.01; // Static Volume
double x121EATPPoint = 50; // TP Point
double x121EASLPoint = 100; // SL Point
int x121EAMaxAllowedTrades = 1; // Max Allowed Positions
bool x121EAIgnoreSL = false; // Ignore Calculated SL
bool x121EAIgnoreTP = false; // Ignore Calculated TP
bool x121EAUseSupport = false; // Use Support Signals
double x121EAMinRequiredProfitPerTrade = 0; // Minimum Required Profit for Hedging
double x121EAMinRequiredProfitPerVolumeFactor = 0; // Minimum Required Profit for Hedging Per Velume
int x121EARestingAfterHedge = 0; // Resting Seconds After Hedge
int x121EACloseOnSpecificTime = -1; // Close All Trades in Specific Time
bool x121EACloseOnOpposit = false; // Close all Positions on Opposit
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
//
// Alert ...
bool x121EAEnableAlerts = true; // Enable Alerts
bool x121EALogAlerts = true; // Log Alerts
bool x121EAMailAlerts = false; // Mail Alerts
bool x121EAPushAlerts = false; // Push Alerts
bool x121EATerminalAlerts = false; // Terminal Alerts
input group "Alerts";
input bool x121EAEnableAlerts = true; // Enable Alerts
input bool x121EALogAlerts = true; // Log Alerts
input bool x121EAMailAlerts = false; // Mail Alerts
input bool x121EAPushAlerts = false; // Push Alerts
input bool x121EATerminalAlerts = false; // Terminal Alerts
//
// Definitions ...