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
I found this old post talking about it. Please let me know if it is working ok, or if you can improve this code for the benefit of everyone here. Thanks.
https://www.prorealcode.com/topic/last-bar-on-chart-intra-bar-or-closed/
Cool, I already verified it on my platform.
I’m coding a Wyckoff Wave indicator (already working but with graphical abberations that make it “un sharable”) and this will help me make it much more presentable/
Needless to say I’ll share it once I’m done.
Thanks
Pinny
Hi,
I would like to program a wyckoff wave.
However I have no idea how to add different value? BA x50 +ATTx79 etc…
Can you please post your code? thanks a lot.
Franck