yes..
_section_begin("filter");
buy = close > ema(close,21) and pdi(14) > mdi(14) and adx(14) > 25;
sell = close < ema(close,21) and pdi(14) < mdi(14) and adx(14) > 25;
filter = buy or sell;
addcolumn(close,"close");
_section_end();
yes..
_section_begin("filter");
buy = close > ema(close,21) and pdi(14) > mdi(14) and adx(14) > 25;
sell = close < ema(close,21) and pdi(14) < mdi(14) and adx(14) > 25;
filter = buy or sell;
addcolumn(close,"close");
_section_end();