Registered User Joined: 10/7/2004 Posts: 3
|
If one has two stocks, A and B, it is possible to plot A and overlay B to visually compare the two. In pairs trading strategies, one needs the spread, A-B, its 10-period SMA, and perhaps its ratio A/B. Is it possible using Telechart PCFs to code a sequence that would plot A-B and then allow indicators to be applied to this composite spread? Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It is possible to Plot multiple Symbols using a Comparison Symbol (either using a Logarithmic or $100 Scale).
Compare price trends and price performance using Comparison Symbol and $100 scale
The Relative Strength Indicator in TeleChart is the Ratio of the Active Symbol to the Comparison Symbol. I do not know of a practical automated method of Plotting the Spread or its Moving Average in TeleChart (it is fairly simple to do so in StockFinder), but it might be possible to use the basic technique outlined in the following topics to create a Custom Indicator.
Indexes in PCF's
RSMA PCFs
-Bruce Personal Criteria Formulas TC2000 Support Articles
|