Identifying defined candle
Posted: 28 Apr 2017 11:01
Hi,
i want to identify a specific candle for example the one from 15.30 to 15.34:59.
How do I do that? I tried several ways, working in most scenarios is:
But not always and it seems that over the day it is wandering, so for 1530 it works, at 1630 I need to specify 1631 to 1636 to "hit" the candle (in Futures Wheat May 17 Contract).
There must be a better way?
regards
Gunnar
i want to identify a specific candle for example the one from 15.30 to 15.34:59.
How do I do that? I tried several ways, working in most scenarios is:
Code: Select all
if ((Duration(timeOpen, NumericToTime($StartTime)) < 300) and (Duration(timeOpen, NumericToTime($StartTime)) >= 0)) then
There must be a better way?
regards
Gunnar