I have a problem concerning BarsInProgress and Plot method behavior. I know Plot method is not supported but I don't think that we need to understand the Plot method in details to solve this problem.
I have two data period 1 tick and 30 minutes..
The problem is that I am referring to the CurrentBar on the Plot method to draw stuff based only on the 30 minutes period.
If I write :
If (BarsIn Progress==0)
in the Plot method when I have a BarsInProgess==1 update all the drawing disappear..
How can I refer CurrentBar only to BarsInProgress==0...
I tried CurrentBar[0][0]...
Did not work
Thanks
Comment