通达信(六脉神剑)幅图指标公式 【没有未来函数】 指标说明:无 图片举例: 1、六脉神剑幅图指标: WX1:=EMA(CLOSE,8)-EMA(CLOSE,13); WX2:=EMA(WX1,5);NSYJ:=WX1>WX2; MACD金叉:=IF(NSYJ,1,0),COLORYELLOW; NS1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;K:=SMA(NS1,3,1);D:=SMA(K,3,1);DRAWICON(K>D,2,1);DRAWICON(K<D,2,2); 牛哥指标:=K>D;KDJ金叉:=IF(牛哥指标,2,0),COLORYELLOW;ZT:=REF(CLOSE,1);WU1:=(SMA(MAX(CLOSE-ZT,0),5,1))/(SMA(ABS(CLOSE-ZT),5,1))*100; WU2:=(SMA(MAX(CLOSE-ZT,0),13,1))/(SMA(ABS(CLOSE-ZT),13,1))*100;DRAWICON(WU1>WU2,3,1);DRAWICON(WU1<WU2,3,2); 牛哥指标1:=WU1>WU2; WU金叉:=IF(牛哥指标1,3,0),COLORYELLOW; NS:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100; WXNSYJ:=SMA(NS,3,1); WX牛哥指标:=SMA(WXNSYJ,3,1);DRAWICON(WXNSYJ>WX牛哥指标,4,1);DRAWICON(WXNSYJ<WX牛哥指标,4,2);牛哥指标2:=WXNSYJ>WX牛哥指标; WXB金叉:=IF(牛哥指标2,4,0),COLORYELLOW;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;DRAWICON(CLOSE>BBI,5,1);DRAWICON(CLOSE<BBI,5,2);牛哥指标3:=CLOSE>BBI; BBI金叉:=IF(牛哥指标3,5,0),COLORYELLOW; WXJ:=CLOSE-REF(CLOSE,1); WXM:=100*EMA(EMA(WXJ,5),3)/EMA(EMA(ABS(WXJ),5),3); WXS:=100*EMA(EMA(WXJ,13),8)/EMA(EMA(ABS(WXJ),13),8); DRAWICON(WXM>WXS,6,1); DRAWICON(WXM<WXS,6,2); 牛哥指标6:=WXM>WXS; WXJ金叉:=IF(牛哥指标6,6,0),COLORYELLOW; 加自选:IF((NSYJ AND 牛哥指标 AND 牛哥指标1 AND 牛哥指标2 AND 牛哥指标3 AND 牛哥指标6) AND REF(NSYJ AND 牛哥指标 AND 牛哥指标1 AND 牛哥指标2 AND 牛哥指标3 AND 牛哥指标6,1)=0,7,0),COLORCYAN,LINETHICK2;上涨:IF(NSYJ AND 牛哥指标 AND 牛哥指标1 AND 牛哥指标2 AND 牛哥指标3 AND 牛哥指标6,7,0),COLORCYAN,LINETHICK2; |
|