Example 3

Top  Previous  Next

Example 3.wrk (workspace) which contains charts Example 3 Daily SPY.cht and Example 3 Range SPY.cht  (these are the same charts from Example 2 but have been updated to include additional indicators).

 

The user in Example 2 also creates an hourly bar chart to which he would like to send the spread on his range bar chart. On the hourly chart the user wants to divide the spread by a moving average on one of his/her daily charts.

 

The following indicator is added to the range bar chart from Example 2, now called Example 3 Range SPY.cht:

SendStream(5,Spread(RangeRSI,GetStream(13)))

 

The following indicator is added to the daily chart from Example 2, now called Example 3 Daily SPY.cht:

SendStream(12,Avg(Close,10))

 

Then on the hourly bar chart called Example 3 Hourly SPY, the following indicator is added:

Divide(GetSteam(5),GetStream(12))