通信达公式导入 通达信见证实力副图指标公式(2)
RSI6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
COND2:=RSI6<30;
RSI12:=SMA(MAX(CLOSE-REF(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),12,1)*100;
COND3:=RSI12<40;
RSI24:=SMA(MAX(CLOSE-REF(CLOSE,1),0),24,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),24,1)*100;
COND4:=RSI24<50;
WR60:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
COND5:=WR60<-60;
RSVA:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VK:=SMA(RSVA,4,1);
VKK:=SMA((VK-50)*2,3,1);
COND6:=VKK<-50;
RSVIB:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VIK:=SMA(RSVIB,4,1);
VID:=SMA(VIK,3,1);
COND7:=VID<30;
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
COND8:=VAR1F>20;
VAR17:=BARSCOUNT(CLOSE);
COND9:=VAR17>50;
VAR20:=COND5 AND COND6 AND COND1 AND COND3 AND COND2 AND COND4 AND COND7 AND COND8 AND COND9;
STICKLINE(VAR20,0,80,2,0),COLORRED,LINETHICK3 ;(股票知识网zhishi.southmoney.com)