tex:
Close[i+1] < Open[i+1] - Range
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi
I have been trying to put together a simple alert that will do the following:
Place an UP arrow under a candle that has met a set of criteria (e.g., Close[1] - Open[1] > 10 points)
Place a DOWN arrow above a candle that has met a set of criteria (e.g., Open[1] - Close[1] > 10 points)
The arrows should also be placed for past candle sizes (but no emails).
The points should be a volatile input meaning I can specify the amount depending on the chart I attach it too.
Alert is based on the last completed candle (i.e., ignores the current candle even it the condition is satisfied). This is to avoid having multiple alerts for the same candle.
When alert is triggered, an email is sent along with a message advising of the currency pair and if it is a buy or sell (if possible, a chart).
Would appreciate if someone can complete correct code for me.
Thanks