Registered User Joined: 5/28/2014 Posts: 26
|
Hi! I try to make a simple function. I have a relative strength ratio chart. Eg. XLF relative to SPY. Add a plot in the ratio of a simple moving average 20 period. Add a custom function to find : ABS(c>avgc20).
The data source is the relative strength ratio. But not working as i expected. I want to plot 1 when the close of the ratio is above the SMA20, and 0 when the ratio is below the SMA20. What is wrong? Can anyone please help me? Thanks in advance!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I do not know of any way to plot 1s and 0s on the chart for this.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|