Does anyone have daily open indicator that show today open? I can't find it here.
hope it help...
I am using Alpari (GMT+1) so in "TimeZoneofData" I should put 1,right?
You can also use the built-in function in MT. There are 2 ways:
The period separator will show the beginning of each day if you are on an H1 or lower time frame. At H4 and above, it shows the beginning of each week.
I want to use horizontal line for open price. Thanks anyway.
Daily Open price
I need this and just found your thread - many thanks
Daily_Open_Line mod-x is a modification of the Daily_Open_Line indicator - Original Author: Midnite
The original indicator has input for a start time onthe hour (9:00, 11:00, 15:00 etc) but notpast the hour (09:30, 15:15 etc). See here for original indicator.
Unable to find a version accommodating a start time past the hour, rather than reinvent the wheel, I have added some edits.
The minute feature works within the limits of mathematical possibilty.
The indicator starts the H-Line at the open of the candle that corresponds to the minute setting-parameter.
On a M5 timeframe a time of 08:05 will start the H-Line at the open of the 08:05 - 08:10 candle and on a M30 timeframe a time of 08:30 will start the H-Line at the open of the 08:30 - 09:00 candle.
If a time of 08:07 is set on a M5 timeframe the indicator will not find a candle open at 08:07 and will skips the 08:05 - 08:10 candle and starts the H-Line at the next available candle open, 08:10 - 08:15. So a minute parameter of xx.07 is meaningless and invalid. Likewise a time of 02:00 on a H4 timeframe is meaningless and invalid as the candle start and end time is 00:00 - 04:00.
Within the scope of present code valid hour and minute settings-parameters are as follows:
M1 - all possible minutes past the hour : xx:00 - xx:59
M5 :xx:00, xx:05, xx:15, xx:30.
M15 :xx:00, xx:15, xx:30.
M30 :xx:00, xx:30
H1 :00:00 - 23:00 (only on the hour)
H4 :00:00, 04:00, 08:00, 12:00, 16:00 & 20:00.
Can anybody help me modify this indicator to draw the complete daily line to stretch to the end of the period separator once new day starts? It currently only draws a tiny line on each candle open but I want it to draw the full daily line for the day. Thanks.