Thicker Bar size amibroker

#1
i am a newbie and need help form amibroker coders

i need thicker bar size, here is the code which i got it from traderji fourm.

Please amend it. screen shot attached.

_SECTION_BEGIN("HLC chart no open");

// Get Previous Day's close, Low and High
Prev_Close = TimeFrameGetPrice( "C", inDaily, -1, expandFirst);

Color = IIf(Prev_Close < C, colorBlue, colorRed);

PlotOHLC(Null,H, L, C, "O == C Chart", Color, 128 | styleLine | styleThick);

_SECTION_END();

I shall be thank full if you also add following description of the Bar in chart

IF

Upbar – Close of the bar is higher than the close of the previous bar
Upclose – bar closes in the upper 30%
Downbar – Close of the bar is below the close of the previous bar
Downclose – bar closes in the lower 30%
Midclose – bar closes between 30%-70%
Wide spread bar – If the spread (range) is ~1.8x the average spread
Narrow spread bar – if the spread (range) is ~0.08x the average spread
 

Attachments

Similar threads