Job finished
Specification
Hello, I need an expert advisor (I think this is an EA, but it is maybe a script or an indicator... please let me know what is the best) to get some alerts when a certain type of candlestick occurs (wich looks like haramis).
Timeframe : H1 (but it must be possible to change easily the timeframe).
Here are the conditions that the program should take into account :
1/ the current hour is between 8 AM and 7 PM. The alert is sent once, after the end of a candlestick (if the candlestick I am looking for is found for the hour between 9:00 and 9:59, I want to be noticed at 10:00).
2/ if "close[1]" is the closing level of the last candelstick (if it is 10:00, I want the data from the period 9:00 - 9:59), "open[1]" the opening level, "high[1]" the highest point, "low[1]" the lowest point, I need the following conditions :
close[1] < close[2] and open[1] > open[2] and high[1] < high[2] and low[1] > low[2]
OR
close[1] > close[2] and open[1] < open[2] and high[1] < high[2] and low[1] > low[2]
3/ if "abs" means the absolute value of a number : Abs(2) = 2 and Abs(-2) = 2 for example.
I need the condition :
abs(close[1] - open[1]) < abs(close[2] - open[2])
It should be possible to switch of this condition in order to make some tests.
The expert advisor (or script, or indicator ?) must send me an e-mail and/or if possible send me an alert thanks to the mobile version of MT4, if conditions 1 AND 2 AND 3 are ok
I join 2 captures :
- 1 capture taken from the software Prorealtime where I have created the indicator that does exactly what I am asking. But Prorealtime cannot send alerts, therefore I want to use MT4.
- 1 capture from MT4 showing the expert Advanced Stochastic Scalper, which has exactly the look I want : Arrows showing the candlesticks that match the requirements, and alerts (shared on the mobile mt4 app)
Thank you very much !