Read the user guide for Plot:
http://www.amibroker.com/guide/afl/afl_view.php?id=114

styleNoLabel will hide the MA labels.
Either of styleOwnScale or styleLeftAxisScale will help with the chart usage 
issue.

Mike

--- In [email protected], autotrade <autotr...@...> wrote:
>
> The lower formula is simple and makes the job
> I have 2 problems
> How to modify it so that:
> The PBC don't uses 100% of the Chart (it is the MA which uses 100% of the
> chart) 
> Not to have all prices as of MA in the right margin. Only the CLOSE
> ------------------------
> _SECTION_BEGIN("Price");
> SetChartOptions(0,chartShowArrows|chartShowDates);
> _N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g
>  Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
> Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
> ParamStyle("Style") | GetPriceStyle() ); 
> Plot( MA(C,20), "MA20", colorCustom12 ) ;
> Plot( MA(C,50), "MA50", colorRed ) ;
> Plot( MA(C,100), "MA100", colorBlue ) ;
> Plot( MA(C,200), "MA200", colorBlack ) ; 
> _SECTION_END();
>  
>  
> Claude
>


Reply via email to