Hi, I have a heikin ashi chart at closed bars, but i want the actual open bar(price) to be a normal cadlestick, until the bar close then turn into a normal heikin ashi, is this possible? help with the code Please.
If the cadlestick go up then green and down for red until turn in HA. So what a want is a normal HA chart, only the actual open bar is Modded with normal cadlestick or bar chart. Here's the heikin ashi code: //---- heikin ashi HaClose = (O+H+L+C)/4; HaOpen = AMA( Ref( HaClose, -1 ), 0.5 ); HaHigh = Max( H, Max( HaClose, HaOpen ) ); HaLow = Min( L, Min( HaClose, HaOpen ) ); xDiff = (HaHigh - Halow) * IIf(StrFind(Name(),"JPY"),100,10000); barcolor = IIf(HaClose >= HaOpen,colorBlack,colorBlack); PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, "", barcolor, styleCandle ); Thank you,
