prepare XUSPY5 temp and workspace ...
This commit is contained in:
@@ -85,10 +85,21 @@ input bool xUSPY5XCHMAMNAllowLongSignals = true; // Enable Long Signals
|
||||
input bool xUSPY5XCHMAMNAllowShortSignals = true; // Enable Short Signals
|
||||
|
||||
//
|
||||
bool xUSPY5IsTestMode = true;
|
||||
// Check in Test Mode or not ...
|
||||
bool xUSPY5IsTestMode = false;
|
||||
|
||||
//
|
||||
// Detect max Input Length of Indicators ...
|
||||
int xUSPY5MaxLengthOfInputs = 0;
|
||||
|
||||
//
|
||||
// Detect Calculated Bars ...
|
||||
int xUSPY5CalculatedBars = 0;
|
||||
|
||||
//
|
||||
// Check prevent Double Signalling on Same Candle ...
|
||||
bool xUSPY5WaitUntilNextCandle = false;
|
||||
|
||||
//
|
||||
// Signaller Variables ...
|
||||
//
|
||||
@@ -297,7 +308,7 @@ bool XUSPY5InitIndicators()
|
||||
|
||||
//
|
||||
// Make it Enable when we need to Log Market Conditions ...
|
||||
// xUSPY5IsTestMode = false; // IsRunningOnTestMode();
|
||||
xUSPY5IsTestMode = IsRunningOnTestMode();
|
||||
|
||||
//
|
||||
// Check and Calculate Max Length in Inputs ...
|
||||
@@ -865,7 +876,7 @@ bool XUSPY5HasLongSignal(
|
||||
{
|
||||
//
|
||||
// Only Log Signals Time Market Conditions if is in Testing Mode ...
|
||||
if (xUSPY5IsTestMode)
|
||||
if (xUSPY5IsTestMode || xUSPY5EnableSignalAlerts)
|
||||
{
|
||||
//
|
||||
XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition();
|
||||
@@ -1021,7 +1032,7 @@ bool XUSPY5HasShortSignal(
|
||||
{
|
||||
//
|
||||
// Only Log Signals Time Market Conditions if is in Testing Mode ...
|
||||
if (xUSPY5IsTestMode)
|
||||
if (xUSPY5IsTestMode || xUSPY5EnableSignalAlerts)
|
||||
{
|
||||
//
|
||||
XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition();
|
||||
|
||||
Reference in New Issue
Block a user