MQL5 indicator, making a horizontal line between 6 to 10 am period with value of 30 min timeframe period High Value
- Daily Open Indicator
- I've had a go, but need help
- indicator to draw short lines
-
Your loop is non-series, but do not set your array any direction.
-
Your loop is non-series, but do not set your buffer that way.
-
Your loop is non-series, but iTime and iHigh expects as-series index.
-
You are mixing apples and oranges. i is the chart index but passed to the M30 chart.
-
You want the line to be the high at 6AM, yet you get the high at 6:29:59
-
Your loop is non-series, but do not set your array any direction.
-
Your loop is non-series, but do not set your buffer that way.
-
Your loop is non-series, but iTime and iHigh expects as-series index.
-
You are mixing apples and oranges. i is the chart index but passed to the M30 chart.
-
You want the line to be the high at 6AM, yet you get the high at 6:29:59
I want to make an indicator for meta trader 5 All I want to do is to draw a horizontal line between 6 to 10 AM candles. the value of the line equals to the High value of the 30 min period candle stick of each day at 6 AM. I wrote this code but it is not working
Indicator code: Time interval

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use