天生我财的掌股专家系列指标之一:压力支撑+风控条码

压力支撑(主图公式):
RSV13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:=SMA(RSV13,3,1);
D13:=SMA(K13,3,1);
J13:=3*K13-2*D13;
RSV55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(RSV55,3,1);
D55:=SMA(K55,3,1);
J55:=3*K55-2*D55;
支撑位:IF(CROSS(J13,J55),LOW,REF(LOW,BARSLAST(CROSS(J13,J55)))),COLORRED;
压力位:IF(CROSS(J55,J13),HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13)))),COLORBLUE;
中位:(支撑位+压力位)/2,COLORBROWN;


风控条码:
VAR3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR4:=SMA(SMA(VAR3,3,1),3,1);
VAR5:=EMA(VAR4,5);
VAR6:=VAR5;
VAR7:=3*VAR4-2*VAR5;
VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(VAR8,3,1),COLORGREEN;
D: SMA(K,3,1),COLORBLUE;

VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
VARD:=87.5;
趋势:VARC,COLORCYAN;
20,0,COLORBLACK;
50,0,COLORBLACK;
80,0,COLORBLACK;
DRAWTEXT(CROSS(VARD,趋势),75,'赚了'),COLORYELLOW;
WW:STICKLINE(VARC>90,100,90,7,0),1,COLORRED;
Y:STICKLINE(VARC<10,0,10,7,0),1,COLORBROWN;
VARF:=SMA(VAR3,20,1);
VAR10:=SMA(VARF,15,1);
VAR11:=(3*VARF+2*VAR10)/4;
VAR12:=REF(VAR11,1);
VAR13:=SMA(MAX(VAR11-VAR12,0),2,1)/SMA(ABS(VAR11-VAR12),2,1)*100;
VAR14:=MA(VAR13,10);
VAR15:=IF(CROSS(VAR14,90),25,0);
DRAWTEXT(CROSS(VAR14,90),27,'强势整理'),COLORRED;

 

压力支撑+风控条码(通达信)

 

压力支撑+风控条码(通达信)的选股公式如下: