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.
How Do You Scan For An Indicator On A Single Stock?
How do you write a scan for an indicator on a Single Stock?
For example, when the MACD (12,26,9) crosses up on a single stock ( e.g. Barrick Gold, " GOLD " ) ?
Symbol = gold and Macd crosses
It would be better served as an Alert vs a Scan but actual code would be the same.
What I was missing was that the stock name requires quotation marks:
and [ "GOLD" ]
and Macd crosses
Alerts will only "trigger" when there is something that meets the criteria. Nice thing about Alerts is that you can set them to capture more than one thing. So if you had a few symbols in the sector that you wanted to be alerted to on a MACD cross, and/or members of an industry or sector crossing, you can configure the Alert to alert you.
There are a few methods of choosing the sector and industry that contains stocks which have the best chance of increasing in price.
Which method do you use?