This commit is contained in:
2024-02-08 18:27:33 +03:30
parent 420192d339
commit cccc06ef6d
37 changed files with 89 additions and 7 deletions
Binary file not shown.
+9 -5
View File
@@ -296,9 +296,13 @@ void OnTick()
// Handle Processing on XAU5 Signal Provider ...
XAU5SignalProviderDoControlState();
}
//
if (!IsNewCandle() && xAU5WaitUntilNextCandle)
// Check Can Ignore Tick or not ..
bool canIgnoreTick = xAU5IsTestMode
? !IsNewCandle()
: !IsNewCandle() && xAU5WaitUntilNextCandle;
if (canIgnoreTick)
{
return;
}
@@ -379,11 +383,11 @@ bool XAU5CTimerInit()
//
// Inputs ...
xAU5CandleTimerColot,
xAU5CandleTimerCorner
);
xAU5CandleTimerCorner);
//
if (xAU5CTimerHandler == INVALID_HANDLE) {
if (xAU5CTimerHandler == INVALID_HANDLE)
{
result = false;
}