I want to test for a condition in onbarupdate()
when it is true, then I need to remember this bar index.
Then I must use that bar index in drawing something later... I mean I must reference that bar index in a future call to onbarupdate(), I must used it in barsago format.
e.g.
say 1/2 way through chart onbarupdate() matches a condition, so I set
x = the bar index
then say 3/4 of the way through the chart onbarupdate wants to use this value to draw something
so at this point I need to transform x into a barsago format... how do I do this?
Comment