Again I am hanging on a seemingly easy portion of code for which I didn't find any comments.
I want to execute some code only on/after lastbar on chart.
In easylanguage this is done with
if islastbar then
but whatever I tried to do with similar afl code it just won't happen, either the code was
nevertheless executed on every bar or never !
For exemple