_SECTION_BEGIN("Vol-Trend");
uptrend=PDI(20)>MDI(10)AND Signal(29)<MACD(13);
downtrend=MDI(10)>PDI(20)AND Signal(29)>MACD(13);
Plot( 20, /* defines the height of the ribbon in percent of pane width */"",
IIf( uptrend, colorGreen, IIf( downtrend, colorRed, 0 )), /* choose color */
styleOwnScale|styleHistogram+styleThick|styleNoLab el, -0.5, 100 );
Plot( 21,"",colorBlack,styleOwnScale|styleArea|styleNoLa bel,-0.5, 100 );
uptrend=PDI()>MDI() AND MACD()>Signal() AND (ADX()>20);
downtrend=MDI()>PDI() AND Signal()>MACD();
_SECTION_END();