I need the high lo mark of the first 4xH1 candles at market opening, easy to mark manual, but after a while I like an indi to do the mark for me... as a non-coder I could not get the indi together, but I realise that that should be same as first hour H4 hilo.... so I get you firsthourHilo v1.1 from Gumrai, modiied H1 to H4 to my surprise it does not show anything could you tell me what did I do wrong here?
UPDaTED:
unbelievable logic in the code of the great coder Gumrai, I found what I modified wrongly
datetime bartimeplusday=bartime+((24-MarketOpenTime)*PERIOD_H4*15)-1;
now corrected in First_H4_HiLo V1,1 ntk ok.ex4
So it works now, but to my disappointment, on chart it is not what I want: I need the highest and the lowest of the first four H1 candle's bodies ; not the highest high or the lowest low mark of the H4 or of the four H1 candles
Oh dear, how should I do????? Could the great coders on this thread pls help to get the indi do the right task.
Attached Files
https://assets.faireconomy.media/images/attach/mq4.gif First_H4_HiLo v1.1 ntk.mq4 3 KB | 3 downloads
https://assets.faireconomy.media/images/attach/mq4.gif First_H4_HiLo v1.1 ntk ok.mq4 3 KB | 2 downloads
UPDaTED:
unbelievable logic in the code of the great coder Gumrai, I found what I modified wrongly
datetime bartimeplusday=bartime+((24-MarketOpenTime)*PERIOD_H4*15)-1;
now corrected in First_H4_HiLo V1,1 ntk ok.ex4
So it works now, but to my disappointment, on chart it is not what I want: I need the highest and the lowest of the first four H1 candle's bodies ; not the highest high or the lowest low mark of the H4 or of the four H1 candles
Oh dear, how should I do????? Could the great coders on this thread pls help to get the indi do the right task.
Attached Files
https://assets.faireconomy.media/images/attach/mq4.gif First_H4_HiLo v1.1 ntk.mq4 3 KB | 3 downloads
https://assets.faireconomy.media/images/attach/mq4.gif First_H4_HiLo v1.1 ntk ok.mq4 3 KB | 2 downloads
Attached File(s)
First_H4_HiLo v1.1 ntk ok.mq4
3 KB
|
306 downloads