I'm coding up some direct chart trading AFL scripting and it's crying out for variables which can retain their values through multiple runs WITHOUT calling a pair of fuctions to get it done. Wouldn't coding AFL be a whole lot easier on the fingers and eyes if this were allowed? :
static inTrade = false; static array = null; // initialize later and add new value on each pass These simple statements would retain their values through multiple runs of the AFL script. You don't need the StaticVarGet(), StaticVarSet(), etc. family of functions if you just want a global variable that retains its value through multple passes of the AFL. It sure would make code a lot easier to read and create.
