♥ 0 |
Hello, I’m trying to make simple scan that will look for stocks that close below the 50 EMA TWO days ago, and close above the 50 EMA ONE day ago. I tried a few different wizard setups but they did not work. So two step scan:
I tired doing the attached but it included items that closed above the 50 EMA. Many thanks! Jeff
Marked as spam
|
Private answer
What you have here is a basic crossover scan. I'm certain there must be several examples here in the Q&A form already. If the close is below the EMA two bars ago, then above the EMA one bar ago, this is the same them as saying the price crossed above the EMA one bar ago. This is a very basic scan that can be built in just a few clicks of the mouse using the Condition Wizard. Link to my tutorial video for building scans using the Condition Wizard: https://www.hahn-tech.com/thinkorswim-condition-wizard/ Screenshots below show the steps required to create this scan using the Condition Wizard. The code you provided in your screenshot is only looking for the close below the EMA two bars ago. That code does not capture the price crossing above the EMA one bar ago. Marked as spam
|
Please log in to post questions.