Indicator and Drawing Object placement Right of Bar[0]

Have a QScript to share, or need help with programming? Post your comment here.
Post Reply
rlite4
Posts: 83
Joined: Wed Dec 16, 2015 6:14 pm
Contact:

Indicator and Drawing Object placement Right of Bar[0]

Post by rlite4 » Wed Mar 06, 2024 2:42 am

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

User avatar
earik
Site Admin
Posts: 477
Joined: Mon Dec 01, 2014 12:41 pm
Contact:

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

Post by earik » Tue Mar 12, 2024 7:04 pm

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

rlite4
Posts: 83
Joined: Wed Dec 16, 2015 6:14 pm
Contact:

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

Post by rlite4 » Wed Mar 13, 2024 3:20 am

Hi Earik,

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest