【源码-带图】主力建仓-适合 通达信 大智慧 同花顺等软件
参数:
N1=9;
M1=3;
M2=3;
P1=9;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M1,1),COLOR000000;
D:=SMA(K,M2,1),COLOR000000;
JJ:=P1*(3*D-2*K),COLOR000000;
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K<20;
MAICHU:= CROSS(D,K) AND D>80;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:IF(VAR8>100,100,VAR8);
STICKLINE(VAR9>-120,0,VAR9,6,1),COLORRED;