The following script uses BARSTATE_NEWBAR and uses it to store previous values for later calculations. I would like to change to ALLBARS and use an array to store the old value. I have looked at pop and upshift but I am not sure how to set up the array or where to place all the elements of the array in the script.
Thanks for your help
Thanks for your help
Comment