股票老鸭头:=EMA(CLOSE,5);
形态选股:=MA(CLOSE,20);
公式源码:STICKLINE(股票老鸭头>形态选股,股票老鸭头,形态选股,0.02,0),COLORRED;
通达信:STICKLINE(股票老鸭头<形态选股,股票老鸭头,形态选股,0.02,1),COLOR00FF00;
SSCC1:=(CLOSE+HIGH+LOW)/3;
SSCC2:=EMA(SSCC1,10);
SSCC3:=REF(SSCC2,1);
SSCC31:SSCC2,COLORWHITE,LINETHICK0;
DRAWBAND(股票老鸭头,RGB(255,172,172),形态选股,RGB(57,134,124));
DRAWBAND(SSCC2,RGB(255,255,255),SSCC3,RGB(0,0,151));
STICKLINE(股票老鸭头>形态选股 AND (股票老鸭头-形态选股)>REF((股票老鸭头-形态选股),1),股票老鸭头,形态选股,0.02,1),COLORRED;
STICKLINE(股票老鸭头<形态选股 AND (形态选股-股票老鸭头)>REF((形态选股-股票老鸭头),1),股票老鸭头,形态选股,0.02,1),COLOR00FF00;
STICKLINE(SSCC2>SSCC3,SSCC2,SSCC3,0.02,1),COLORWHITE;
STICKLINE(SSCC2<SSCC3,SSCC2,SSCC3,0.02,1),COLOR970000;