Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Simple function to Relative Strength ratio Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
geolinas
Posted : Friday, November 9, 2018 1:44:16 PM
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!

Bruce_L
Posted : Thursday, November 15, 2018 9:57:00 AM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.