Spécifications
Hello, I need an Indicator as follows: i.e. timeframe = M1, at 16:40 MA Close of last 10 bars(16:30 to 16:39), result draw horizontal line forecast 6 minutes (16:40 to 16:45)
next horinzontal line at 16:45 (again last 10 bars from 16:35 to 16:44) and so on.
If new draw line is higher than last draw line than print color green, if it is lower than color red, if it is same result than keep same color.
Connect the drawing lines with a vertical line. In the end it looks like a stairway, when it is up in green, when down in red.
See following file:
https://www.mql5.com/en/charts/6406294/dax30-m1-admiral-markets
Variables should be timeframe: M1, M5, M15, H1, D1, MA: open, close, high, low period/number of bars for MA, length of forecast line.
No need for automatical orders.
best rgds JFF