以下是通达信扬风起航副图指标
通达信扬风起航副图指标
源码
VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=(3*VAR2+2*VAR3)/4;
VAR5:= REF(VAR4,1);
RSA:=SMA(MAX(VAR4-VAR5,0),2,1)/SMA(ABS(VAR4-VAR5),2,1)*100;
RSB:=MA(RSA,10);
RSD:=RSA/RSB;
0;
5;
帆:RSA/RSB;
平:IF(CROSS(0.1,RSD),6,10);
帆-0,COLORSTICK;