Hello - Fundamental question on execution of EFS Formula and getting historic bar values into (my own) fixed value array (and not Series Object) :
When I apply a formula to an advanced chart, it executes (I think) the bars from left to right, from oldest to newest sequentially, and then switches in Real time mode.
Now I would like to get into my own array say all highs of each (historic) bar; I think it is nonsense to create ex post a formula within main such as: For bar = -1 to -1000 do... , as this would be executed every single time main is called (a new tick), doing thousands of times the same thing, whereas the historic values do not change.
Hence I would like to get the values while the historic bars are scanned (initially), or whenever they are reevaluated, when changing for instance the chart timewindow. How would I do that, any suggestion?
When I apply a formula to an advanced chart, it executes (I think) the bars from left to right, from oldest to newest sequentially, and then switches in Real time mode.
Now I would like to get into my own array say all highs of each (historic) bar; I think it is nonsense to create ex post a formula within main such as: For bar = -1 to -1000 do... , as this would be executed every single time main is called (a new tick), doing thousands of times the same thing, whereas the historic values do not change.
Hence I would like to get the values while the historic bars are scanned (initially), or whenever they are reevaluated, when changing for instance the chart timewindow. How would I do that, any suggestion?
Comment