Search rulezz. See Sound Alerts in Indicators
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Basically what I would like to do is have MQ4 alert me when two indicators have met a certain benchmark. The parameters are pretty straightforward.
An alert will sound when:
- EMA 10 of the last bar was sloping up
-OSMA standard of the last bar was sloping up.
If these two parameters are met, there will be a message alert. Could someone point me out to a piece of code that I can modify to do this? Or provide any assistance regarding this matter?
Also, is there anyway to find out what the EMA value of the last bar was without using a shift? Because essentially what it compares is the slope of t-2 bar (two bars before) to t-1 bar (one bar before). Is there any way to code that in MQ4?
Any help is greatly appreciated.