Draw a graphical object only on the last bar (actual candlestick).
Syntax:
1 |
DefParam DrawOnLastBarOnly = true |
Instruction must be used with DefParam at the beginning of the code.
As for code optimization purpose, it is obvious that this instruction may be use with CalculateOnLastBars.