.

Fast Slow MACD Crossover Lines - Amibroker AFL Code

Click Image To Enlarge. Please Rate And Comment.

Fast Slow MACD Crossover Lines

r1 = Param( "Fast avg", 9, 2, 200, 1 );
r2 = Param( "Slow avg", 19, 2, 200, 1 );
r3 = Param( "Signal avg", 9, 2, 200, 1 );
Plot( ml = MACD(r1, r2), StrFormat(_SECTION_NAME()+"(%g,%g)", r1, r2), ParamColor("MACD color", colorRed ), ParamStyle("MACD style") );
Plot( sl = Signal(r1,r2,r3), "Signal" + _PARAM_VALUES(), ParamColor("Signal color", colorLightBlue ), ParamStyle("Signal style") );
//Plot( ml-sl, "MACD Histogram", ParamColor("Histogram color", colorLightGrey ), styleNoTitle | ParamStyle("Histogram style", styleHistogram | styleNoLabel, maskHistogram ) );
PlotGrid(0, colorLightGrey);
Previous Post Next Post