| | | | 以下是通达信北狼专用1副图指标
通达信北狼专用1副图指标
源码
VAR1:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*(100);
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=100-(3)*(VAR2)+(2)*(VAR3);
VAR5:=((3)*(VAR2)+(2)*(VAR3))/(4);
VAR6:=ABS(ABS(VAR5)-ABS(VAR4));
VAR7:=ABS(ABS(VAR5)-ABS(VAR6));
VAR8:=REF(VAR5,1);
阴跌区:VAR4-VAR7,;
顶区域:IF((阴跌区<0),阴跌区,0),;
趋势:VAR5-VAR7,,COLORSTICK;
底部:(-30),;
顶部:(80),;
VAR5-VAR7,;
RSA:=((SMA(MAX(VAR5-VAR8,0),2,1))/(SMA(ABS(VAR5-VAR8),2,1)))*(100);
RSB:=MA(RSA,10);
介入:IF(CROSS(RSA,RSB),58,0),COLORRED,STICK,LINETHICK2;
加仓:IF(CROSS(RSB,90),28,0),COLOR00FFFF,STICK,LINETHICK2;
| | | | |
|