To simplify changing from one index to the next for
explorations/scans/back testing, I have to tried to implement a Param
switch to be used from the "Parameters" settings in AA.
Although it looks like it could work, it doesn't. [:-?]
Probably because "ticker" is not being connected through "Index".
Any newbies with a thought on this one?
Index = ParamList("Index","^AORD | ^GSPC | ^GSPTSE | ^FTAS",0) ;
X = Foreign("Index","Close",1); // Index close is greater than DEMA
X1 = DEMA(X, 250);
X2 = X > X1;