Hello,
I am trying to create a study that uses a timer, which I have done in real time and it works great using JavaScripts date math off of Date().getTime(), but this does not allow me to back test as I need my times for the timer to relate to the time data of the charts.
I found something called rawtime() which is based on the current price bar. I am trying to use this but am getting some odd results.
Does anybody know of a good timer to use in efs that will work on the timeline of the chart and therefore work in back testing?
Thanks
I am trying to create a study that uses a timer, which I have done in real time and it works great using JavaScripts date math off of Date().getTime(), but this does not allow me to back test as I need my times for the timer to relate to the time data of the charts.
I found something called rawtime() which is based on the current price bar. I am trying to use this but am getting some odd results.
Does anybody know of a good timer to use in efs that will work on the timeline of the chart and therefore work in back testing?
Thanks
Comment