1.同花顺的同花wcf sql 源码skdj改通达信
同花顺的skdj改通达信
{ 通达信}TYP:=(HIGH+LOW+CLOSE)/3;
NOTEXTCL:(TYP-MA(TYP,))/(0.*AVEDEV(TYP,));
NOTEXTC2:MA(NOTEXTCL,4);
NOTEXTC3:MA(NOTEXTCL,),LINETHICK2;
DRAWBAND(NOTEXTCL,RGB(0,,0),NOTEXTC2,0);
DRAWBAND(NOTEXTCL, RGB(,0,0),NOTEXTC3,0);
LC:=REF(CLOSE,1);
DI:=(EMA(C,)-EMA(C,))*;
DE:=EMA(DI,9);
MACD:=2*(DI-DE);
RSV:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*-;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,1,0),COLORAA;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,1,0),COLORFF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,1,0),COLORFF;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1,0),COLORFFA9;
CL:(TYP-MA(TYP,))/(0.*AVEDEV(TYP,)),COLORFFFFFF;
C2:MA(CL,4);
C3:MA(CL,),COLORFFFF,LINETHICK2;