EMA cross Alert
Forums › ProRealTime English forum › ProRealTime platform support › EMA cross Alert
- This topic has 10 replies, 3 voices, and was last updated 8 years ago by jbyrne.
-
-
11/15/2016 at 2:09 PM #1657311/15/2016 at 3:04 PM #1657911/15/2016 at 3:36 PM #16581
I have several alerts memorised, and even if a chart is not displayed in my workspace the alerts for it still produce sounds, so the question simply comes down to creating an alert on the 1mn timeframe chart you want. Looking at another 5mn timeframe chart won’t disactivate the 1mn alert.
That’s the video for creating the alert you want in 1mn with the assistant, without needing to manually code anything:
https://www.youtube.com/watch?v=6×28-Q5hOxY&list=PLGw_ZtCHrQ9hTKVI_rtcNxP33aJ0ivL7D
Beyond your initial question, just in case later you have ideas for more complex alerts, you can even have several conditions spread out on several timeframes:
https://www.youtube.com/watch?v=Q3cl5kRH9jA&list=PLGw_ZtCHrQ9hTKVI_rtcNxP33aJ0ivL7D
Plenty more videos here: http://www.prorealcode.com/category/blog/video-tutorials/
11/15/2016 at 5:10 PM #1659211/15/2016 at 5:17 PM #1659311/15/2016 at 5:59 PM #16595is there a way to easily apply the alert to all windows?
Could you please tell us exactly what are the criteria to fire an alert please? It would be much more easier to help you 🙂
11/16/2016 at 8:51 AM #1660811/16/2016 at 1:00 PM #1664811/16/2016 at 7:20 PM #16670I already have that, but I found that it would pick up to many unwanted stocks.
Is there a way I can restrict the screener to only stocks that have risen/dropped more than 1% compared to yesterdays close? That would fix my problem.
11/16/2016 at 7:55 PM #16672Firstly you can make your own lists to restrict the stocks picking to a few of them.
About the EMA cross stock screener, the code should look like this:
123456789timeframe (daily)c1 = variation>1 or variation<-1timeframe (1 minute)ema20 = exponentialaverage[20]ema50 = exponentialaverage[50]c2 = ema20 crosses over ema50 or ema20 crosses under ema50screener[c1 and c2]Tell us if it’s ok for you. It seems to work ok for me.
11/16/2016 at 9:00 PM #16680 -
AuthorPosts