I have built a custom indicator that brings in 3 different bar objects, compares them and then draws an arrow on the primary bar when conditions are met. When I refresh the indicator on historical data, the draw arrow is put on the correct primary bar and everything appears correct.
When I am watching the indicator in real time, it always seems to draw the arrow on the -1 or prior bar. My value on all draw statements is "0"
Something is different about realtime vs. historical. Can you please point to what I might be missing?
Thank you!
Comment