PlotOHLC with styleHistogram is it possible?

I found somewhere the chart below, and I tried to do it on amibroker. But I can not find how the cloud is not a compact area but with lines as shown in the picture. Is this possible to be done on amibroker?

histogram_cloud

SetChartBkColor( ParamColor( "ChartColor", colorBlack ) );

SetBarFillColor( IIf( C > O, colorBrightGreen, IIf( C <= O, colorDarkRed, colorLightGrey ) ) );
Plot( C, "Close", ParamColor( "Color", colorDefault ),  styleCandle );

a = Exp89 = EMA( C, 89 );
b = IIf( C < a, H, L );

Plot( Exp89, _DEFAULT_NAME(), colorBrown , ParamStyle( "Style" ) );

colorUP = ParamColor( "colorUP", ColorRGB( 0, 64, 64 ) );
colorDN = ParamColor( "colorDN", ColorRGB( 139, 0, 0 ) );

color = IIf( C > a, colorUP,
             IIf( C < a, colorDN,
                  False ) );


PlotOHLC( 0, b, a, a, "" , color, styleCloud | styleNoLabel);

Not exactly but ....

//SetChartBkColor( ParamColor( "ChartColor", colorBlack ) );

SetBarFillColor( IIf( C > O, colorBrightGreen, IIf( C <= O, colorDarkRed, colorLightGrey ) ) );
Plot( C, "Close", ParamColor( "Color", colorDefault ),  styleCandle );

a = Exp89 = EMA( C, 89 );
b = IIf( C < a, H, L );

Plot( Exp89, _DEFAULT_NAME(), colorBrown , ParamStyle( "Style" ) );

colorUP = ParamColor( "colorUP", ColorRGB( 0, 64, 64 ) );
colorDN = ParamColor( "colorDN", ColorRGB( 139, 0, 0 ) );

color = IIf( C > a, colorUP,
             IIf( C < a, colorDN,
                  False ) );


PlotOHLC( O, b, a, C, "" , color, styleCandle | styleNoLabel);

4 Likes

Mr awilson , very-very good and exactly :relaxed:
Thanks a lot.
Christos