通达信双金趋势副图指标公式源码


DIFF:EMA(CLOSE,6) - EMA(CLOSE,13),LINESTICK,COLORYELLOW;
DEA:EMA(DIFF,5);
A:=MACD;
J:=MA(MACD,3);
STICKLINE(CROSS(MA(A,1),G),0.05,0,4,1),COLORYELLOW,LINETHICK2;{选股信号:结合线下DIFF看}
STICKLINE(CROSS(MA(A,1),G),0.09,0,1,0),COLORYELLOW;
AA:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
CC:=EMA(AA,2);
VAR14:=MAX(EMA(AA,2)-EMA(BB,5),0)*1.2;
SS:=EMA(VAR15,2);
波浪系数:VAR15*VAR13,STICK,COLORFF00FF;
B:MA(A10,3),COLORYELLOW,LINETHICK2;
STICKLINE(B>B2,1.5*B,B2,3,0),COLOR0000FF;
STICKLINE(VAR15>REF(VAR15,1) AND VAR13,VAR15,0,2,0),COLOR0099FF;
STICKLINE(VAR15<REF(VAR15,1) AND VAR13,0,VAR15,2,0),COLORGREEN;
WB:=CROSS(DIFF,DEA);{=号前的符号可根据需要改,分析家公式网}
DRAWICON(WB,(DEA * 1.02),23);