Sample 1 – The user creates a range bar chart and a time bar chart. From those charts he would like to broadcast moving average crossovers so that they may be combined into a consensus indicator.
On the range bar chart, the following indicator is added:
SendGroup1(17,1,Spread%(LinWgtAvg(Close,3),LinWgtAvg(Close,8)))
On the second chart, displaying 5-minute bars, he broadcasts another moving average crossover:
SendGroup1(17,2,Spread%(LinWgtAvg(Close,3),LinWgtAvg(Close,11)))
On a third chart, displaying 1-minute bars, he “reads out” the average of the combination:
GetGroup(17,3).
This will produce a graph on a scale of +1/-1 indicating the trend of the stock as seen through the combination of two different filters. A neural net or trading strategy may be applied here.
Sample 2 – The stock in Sample 1 is a semiconductor. The user wants to add the influence of the semiconductor index from a 3-minute chart.
On the 3-minute chart, add:
SendGroup1(17,3,Spread%(ExpAvg(Close,3),ExpAvg(Close,9)))
The 1-minute chart will immediately include the movement of the index stock. Note that the use of Spread% allows us to detect movements of items having different prices in a meaningful way. Futures, stocks, and ETFs may be combined, each in one or more time frames to achieve maximum noise filtering with minimum lag.
|