New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
I like to write a scan where a stock:$NYA ema15 crosses ema150, and where the ema 150 has been in an uptrend?
can somebody please help me?
0
Comments
However, you may be able to figure out how to do something with the PctRelative function, explained here:
https://stockcharts.com/docs/doku.php?id=scans:functions
[PctRelative(15,$NYA) x PctRelative(150,$NYA)]
Unfortunately it's tough to verify or validate the results via the charts and it probably isn't exactly what you are asking about.
You could also use a comparison of under performing to out performing over different periods. Remember, you can also use $Industry and $Sector in the space for the Relative comparison