Page 1 of 1

Indicator and Drawing Object placement Right of Bar[0]

Posted: Wed Mar 06, 2024 2:42 am
by rlite4
Hi,
some indicators which draw patterns on chart disappear if they are placed past (right off) the most recent bar, while for example the FOG drawing pattern even if placed past the most recent bar ie in the white space to the right plot correctly. Can any one point me to the reason this happens and possibly to an indicator / drawing tool which works on the right side and gives an idea of how to Script similar indicators / drawing tool

TIA
rlite4

Re: Indicator and Drawing Object placement Right of Bar[0]

Posted: Tue Mar 12, 2024 7:04 pm
by earik
Hi rlite,

Depends on the tool. If it's a script, it won't know to run into the future, so you have to detect it in your code and do it all at an older bar in time. If you have an example to post, I can help figure out what's up...

Earik

Re: Indicator and Drawing Object placement Right of Bar[0]

Posted: Wed Mar 13, 2024 3:20 am
by rlite4
Hi Earik,

thanks for the reply. Sorry I didn't explain the question properly.
I will send a PM with some details.
thanks
rlite4