backup Projects ...
add supports for wait until next candle to xAU5 ... fix XCTimer Initialization on EU and AU 5 ...
This commit is contained in:
@@ -118,7 +118,7 @@ int OnInit()
|
||||
// Init XCTimer ...
|
||||
if (xEU5ShowCandleTimer)
|
||||
{
|
||||
if (!XCTimerInit())
|
||||
if (!XEU5CTimerInit())
|
||||
{
|
||||
return INIT_FAILED;
|
||||
}
|
||||
@@ -299,13 +299,13 @@ void OnTick()
|
||||
}
|
||||
|
||||
//
|
||||
if (!IsNewCandle() && waitUntilNextCandle)
|
||||
if (!IsNewCandle() && xEU5WaitUntilNextCandle)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
waitUntilNextCandle = false;
|
||||
xEU5WaitUntilNextCandle = false;
|
||||
|
||||
//
|
||||
// Prevent Going Forward if user Disable it ...
|
||||
@@ -367,7 +367,7 @@ bool ValidateInputs()
|
||||
return result;
|
||||
}
|
||||
|
||||
bool XCTimerInit()
|
||||
bool XEU5CTimerInit()
|
||||
{
|
||||
//
|
||||
bool result = true;
|
||||
|
||||
Reference in New Issue
Block a user