last changes on XEU5 and apply fix on ticks handling ...

This commit is contained in:
2024-01-31 16:13:07 -08:00
parent 732b6bba35
commit a098550391
41 changed files with 51912 additions and 40 deletions
@@ -85,10 +85,21 @@ input bool xEU5XCHMAMNAllowLongSignals = true; // Enable Long Signals
input bool xEU5XCHMAMNAllowShortSignals = true; // Enable Short Signals
//
bool xEU5IsTestMode = true;
// Check in Test Mode or not ...
bool xEU5IsTestMode = false;
//
// Detect max Input Length of Indicators ...
int xEU5MaxLengthOfInputs = 0;
//
// Detect Calculated Bars ...
int xEU5CalculatedBars = 0;
//
// Check prevent Double Signalling on Same Candle ...
bool waitUntilNextCandle = false;
//
// Signaller Variables ...
//
@@ -297,7 +308,7 @@ bool XEU5InitIndicators()
//
// Make it Enable when we need to Log Market Conditions ...
// xEU5IsTestMode = false; // IsRunningOnTestMode();
xEU5IsTestMode = IsRunningOnTestMode();
//
// Check and Calculate Max Length in Inputs ...
@@ -865,7 +876,7 @@ bool XEU5HasLongSignal(
{
//
// Only Log Signals Time Market Conditions if is in Testing Mode ...
if (xEU5IsTestMode)
if (xEU5IsTestMode || xEU5EnableSignalAlerts)
{
//
XMarketConditions mConditions = xEU5Provider.GetLastMarketCondition();
@@ -1021,7 +1032,7 @@ bool XEU5HasShortSignal(
{
//
// Only Log Signals Time Market Conditions if is in Testing Mode ...
if (xEU5IsTestMode)
if (xEU5IsTestMode || xEU5EnableSignalAlerts)
{
//
XMarketConditions mConditions = xEU5Provider.GetLastMarketCondition();