资源描述:
《【股票指标公式下载】-【通达信】短线攻击流量(强弱、》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】短线攻击流量(强弱、平均、资金流)-指标公式源码UP:=SMA(IF(CLOSE>REF(CLOSE,1),CLOSE-REF(CLOSE,1),0),N,1);DN:=SMA(IF(CLOSE<=REF(CLOSE,1),ABS(CLOSE-REF(CLOSE,1)),0),N,1);指标:=100*UP/(UP+DN);强弱:EMA(指标,3),COLORRED;平均:EMA(强弱,3),COLORGREEN;风险:80,COLOR8887EA;安全:20,COLOR8887EA;分界:50,CIRCLEDOT,LINETHICK2,COLORGREEN;RSV:=(
2、CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;K:=SMA(RSV,M1,1);D:=EMA(K,M2);PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OP
3、EN-LOW),IF(CLOSE=平均ANDD>=REF(D,1)ANDMA(
4、C,3)>=REF(MA(C,3),1))OR(D>=REF(D,1)AND资金流>0ANDMA(C,3)>=REF(MA(C,3),1))OR(强弱>=平均AND资金流>0ANDMA(C,3)>=REF(MA(C,3),1))OR(强弱>=平均AND资金流>0ANDD>=REF(D,1)),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORLIMAGENTA;买进:IF(强弱>=平均ANDD>=REF(D,1)AND资金流>0ANDMA(C,3)>=REF(MA(C,3),1),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COL
5、ORRED;VAR1:=1/WINNER(CLOSE);VAR2:=MA(CLOSE,13);VAR3:=100-ABS((CLOSE-VAR2)/VAR2*100);VAR4:=LLV(LOW,75);VAR5:=HHV(HIGH,75);VAR6:=(VAR5-VAR4)/100;VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1);VAR8:=SMA((OPEN-VAR4)/VAR6,20,1);VAR9:=3*VAR7-2*SMA(VAR7,15,1);VARA:=3*VAR8-2*SMA(VAR8,15,1);VARB:=100-VARA;VARC:=IF(
6、9001017、OUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(I