apply fix on XMC implementation ...

This commit is contained in:
2024-06-21 17:01:53 +03:30
parent 238941960a
commit 214601711d
2 changed files with 23 additions and 9 deletions
+15 -7
View File
@@ -39,14 +39,15 @@ input int x121EASlippage = 10; // Slippgae
// Signals ...
// EURUSDb,GBPUSDb,XAUUSDb,USDCHFb,USDJPYb
input group "Signals";
//,USDCHFb,EURCHFb,USDJPYb,EURJPYb,GBPUSDb
// EURUSDb,USDCHFb,EURCHFb,USDJPYb,EURJPYb,GBPUSDb,XAUUSDb,NZDUSDb,AUDUSDb,USDCADb,BTCUSD,ETHUSD
input string x121EASymbols = "EURUSDb,USDCHFb,EURCHFb,USDJPYb,EURJPYb,GBPUSDb"; // Symbols
input bool x121EAUseAllSymbols = false; // Use All Available Symbols
input bool x121EAUseAllWatchListSymbols = false; // Use All WatchList Symbols
input bool x121EAAllowLong = true; // Allow Long Trades
input bool x121EAAllowShort = true; // Allow Short Trades
input int x121EAReuiredSignalVerifications = 5; // Required Verifications for Signals
input bool x121EAGetVerificationFromOtherTimeFrames = true; // Get Verifications from Other Time Frames
input string x121EASymbols = "EURUSDb"; // Symbols
input bool x121EAUseAllSymbols = false; // Use All Available Symbols
input bool x121EAUseAllWatchListSymbols = false; // Use All WatchList Symbols
input bool x121EAAllowLong = true; // Allow Long Trades
input bool x121EAAllowShort = true; // Allow Short Trades
input int x121EAReuiredSignalVerifications = 5; // Required Verifications for Signals
input bool x121EAGetVerificationFromOtherTimeFrames = true; // Get Verifications from Other Time Frames
//
// Risk Management ...
@@ -382,6 +383,13 @@ void PreConfigureStyles(X121SetupInputs &inputs)
inputs.pvInputs.showFibo4Levels = true;
inputs.pvInputs.showFibo5Levels = true;
//
// XMC ...
inputs.mcInputs.showSar = true;
inputs.mcInputs.showFastMa = false;
inputs.mcInputs.showSlowMa = false;
inputs.mcInputs.showVerifierMa = false;
//
// XHK ...
inputs.hkInputs.drawHikenAshi = false;
+8 -2
View File
@@ -601,10 +601,16 @@ public:
mInputs.verifierMethod,
mInputs.verifierAppliedTo,
//
// Psar ...
"",
mInputs.step,
mInputs.maximum,
//
// Presentation ...
"",
mInputs.showFastMa, // Show Fast,
mInputs.showSlowMa, // Show Slow,
mInputs.showSar, // Show Sar ...
mInputs.showFastMa, // Show Fast
mInputs.showSlowMa, // Show Slow
mInputs.showVerifierMa // Show Verifier
//
);