[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spread Code



PureBytes Links

Trading Reference Links

Whether or not you can apply the indicators depends on the indicators. Some indicators let's you specify the data stream, some do not. For example, the canned moving average indicator has a input : Price(Close). All you need to do is apply the indicator and replace "Close" with "C data1 - C data2" or something like that, and you are done.

However, if you want to apply say, CCI, you have to rewrite the indicator as a custom one - basically a copy/paste job. This is because CCI uses, internally, something like Avg = Average(High + Low + Close, Length); and gives you no way of specifying those as input. So you need to write your own.

Abhijit



Tabb Thrift wrote:

Hello,

I would like to create a chart on TS 8 or TS2000i in which the spread
between two indexes becomes a chart that you are able to apply various
indicators too (i.e moving averages, etc.). Can this be done. Any help is
appreciated. I can create the chart; however, I'm unable to apply any
indicators.

Thanks

Tabb