Hi Nicolas, and All
As far as I understand the way PRT renders indicators is by calculating them from the oldest bar loaded to the newest. At any given bar the indicator only looks at previous values. Furthermore, you can only “write/set” the current bar, no access to set older bars. Is this correct?
I bypassed this limitation by using drawing commands to render peak/trough points – drawing allows me to render a shape anywhere. In order to fine tune this I am trying to find out a way for the code to detect whether it is at the newest bar (last bar loaded).
Is there any command that can let me determine this?
Thanks
Pinny