以下是通达信性感深V副图指标源码(无源码的请下载附件导入)
{性感深V}
DRAWGBK((CLOSE > 1),RGB(0,0,0),RGB(0,0,255),0,0,0);
LOWV:=LLV(LOW,50);
HIGHV:=HHV(HIGH,50);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,8);
D:=MA(K,8);
DIF:=EMA(CLOSE,20)-EMA(CLOSE,120);
DEA:=EMA(DIF,13);
MACD:=(DIF-DEA)*2;
TJ1:=MACD>0 AND CROSS(DIF,DEA) AND DIF<0;
KD:=CROSS(K,D) AND K<=20;
TJ2:=EXIST(KD,15) AND K<=50;
TJ3:=K>D;
性感深V:FILTER(TJ1 AND TJ2 AND TJ3,15);
DRAWTEXT(性感深V,40,'性感深V'),COLORYELLOW;
STICKLINE(性感深V,50,38,3,0),COLORYELLOW ;
STICKLINE(性感深V,38,12,3,0),COLORRED;
STICKLINE(性感深V,12,0,3,0),COLORYELLOW;
DRAWTEXT(性感深V,10,'牛气制作'),COLORYELLOW;
1258122097.png
1258544997.png
|