Hello
I'm trying to implement on my own cowabunga system indicator.
Actually I'm working on H4 trend identification.
Everything was going fine till I wanted to show results on m15 chart. Indicator is working good, but colored lines that show uptrend/downtrend don't match h4 candles. They are painted on 15m timeframe in unknown for me order. How do you make them snapped to actual H4 bars , that they start at m15 bar which is open of signal h4 bar and end at m15 bar that is open for signal expiring h4 bar ?
I don't know if I explained it enough
Here is my code (early version, sorry for signle-letter variable names):
I'm trying to implement on my own cowabunga system indicator.
Actually I'm working on H4 trend identification.
Everything was going fine till I wanted to show results on m15 chart. Indicator is working good, but colored lines that show uptrend/downtrend don't match h4 candles. They are painted on 15m timeframe in unknown for me order. How do you make them snapped to actual H4 bars , that they start at m15 bar which is open of signal h4 bar and end at m15 bar that is open for signal expiring h4 bar ?
I don't know if I explained it enough
Here is my code (early version, sorry for signle-letter variable names):
Attached File(s)
cowabungaALL.mq4
4 KB
|
356 downloads