♥ 0 |
Hey everyone! I made a post recently titled Display time between bars . While it works great, there is a major error. The time between bars is only plotted if there is an actual trade at the current time. Let’s say we are on a 1 minute chart and there was a trade at 9:35 and the next trade was at 9:40 then the value for the previous would return 5 which is awesome. However, for what I need done I need the current time value (even if there is no trade on the chart) being compared to the time value of the last 1 minute candle. There’s just a small error with the previous script that I’m having a hard time fixing. Any ideas?
Thank you!
Marked as spam
|
Please log in to post questions.