I Need To Scan Stocks One Bar After Their 20 and 40 EMA Crosses


Category:
0
0

Hi Pete,

I am interested in to scan or be notified(Text or Email) on hand full of stocks when their 20 and 40 EMA crosses over each other. I don’t need to see stocks in my scan result set once the first bar is passed. I am interested to see only when the first bar starts after the crossover happens.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on July 24, 2019 11:28 am
74 views
1
Private answer

This can very simply be constructed using the Condition Wizard. No code is required to do this. Full details are explained in the following video:

https://www.hahn-tech.com/thinkorswim-condition-wizard/

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on July 24, 2019 12:12 pm
0
Thanks Pete! I have tried below script that I generated using the wizard: MovAvgExponential("length" = 20)."AvgExp" crosses MovAvgExponential("length" = 40)."AvgExp" and MovAvgExponential("length" = 20)."AvgExp" from 1 bars ago is less than close The issues I am facing are: -When I used this scrip to scan stocks. It only gives me daily crossovers not intraday( 1 min). -When I use this as a study in chart, all the bars are flat and I can only see straight line( please see the attached file). For your reference I attached both with and without the study on APPL 1 minute chart.   Thanks for your help. -Ben
( at July 26, 2019 8:11 am)
0
Go back and watch the video again. You missed a step when applying the study to the chart.
( at July 26, 2019 8:28 am)