Hi - Is there a way in AFL to change whether the indicator specified
in
Plot() is drawn above the OHLC candles?
In my code below, the gold MPP
indicator is drawn underneath the OHLC
candles - I would like it drawn on
top.
Thanks!
============================================================
_SECTION_BEGIN("First");
SetChartOptions(0,chartShowArrows|chartShowDates|chartWrapTitle);
_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()
);
_SECTION_END();
_SECTION_BEGIN("Second");
mpp
=
(H+L)/2;
Plot(mpp,"MP",colorGold,styleThick|styleDashed);
_SECTION_END();