I want to use a trendfilter based upon an indices in an indicator. This will give me information about the trend on a specific Market/Exchange, e.g. OMX30, Nasdaq, SP500 etc.
So how can I refer to an indices within the code for an indicator which is supposed to be used for a specific share?
Ok.
Thanks for fast response @Nicolas.
Hope you can fit in support for this.
In Metastock which I used to use it is very easy to do it.
You just define a local variable to be used, like OMX:=Security(“c:\msdata\ma\index\OMX”, C);