I have tried to redesign a the ZigZag efs formula that can work in real tiime.
However I have been unsuccessful in making it work as the original formula which is only good for back testing as it does not update in real time because of the use of getCurrentBarIndex() which forces you to reload the formual so that it shows the correct information for the current bar.
Any help would be much appreciated to make this work properly.
However I have been unsuccessful in making it work as the original formula which is only good for back testing as it does not update in real time because of the use of getCurrentBarIndex() which forces you to reload the formual so that it shows the correct information for the current bar.
Any help would be much appreciated to make this work properly.