通达信趋势主图
DIFF :=EMA(C,12) - EMA(C,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
M价:(REF(MACD,1)/2 +(26-1)*REF( EMA(C,26),1)/(26+1)
-(12-1)*REF( EMA(C,12),1)/(12+1)+ 2*DIFF/(9+1)
+(9-1)*REF( DEA,1)/(9+1)) /2/(1 /(12+1)-1/(26+1) ),DOTLINE;
WDIF:=EMA(EMA(EMA(C,3),3),3)+DIFF;
WDEA9:EMA(WDIF,9),COLORGREEN;
MA60:MA(CLOSE,60),COLORLIGRAY;
737199029.png
选股公式
DIFF :=EMA(C,12) - EMA(C,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
M价:=(REF(MACD,1)/2 +(26-1)*REF( EMA(C,26),1)/(26+1)
-(12-1)*REF( EMA(C,12),1)/(12+1)+ 2*DIFF/(9+1)
+(9-1)*REF( DEA,1)/(9+1)) /2/(1 /(12+1)-1/(26+1) );
WDIF:=EMA(EMA(EMA(C,3),3),3)+DIFF;
WDEA9:=EMA(WDIF,9),COLORGREEN;
CROSS(C,M价)AND CROSS(C,WDEA9)AND M价<WDEA9;
|