Again and again I get the same problem with
if versus iif conditions. While the if statement allows to align larger segments
in a whole process, one needs to repeat the iif statement for every line…
In this case I would like to translate the ProRealCode for the
Fibonacci Bands indicator which one can find here
https://www.prorealcode.com/prorealtime-indicators/fibonacci-bands-indicator/
One notices that from the line “if islastbarupdate then” until “endif”
there is a large segment which seems to be very laborious
to enclose in “iif(…, NULL); “ statements for every line.
So how is it possible to translate this block ?
Many thanks for your assistance !
