同花顺庄家动向公式
源码
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
庄: IF(CROSS(J,3),50,0),colorred,LINETHICK3;
VA:=(2*C+H+L)/4;
VB:=LLV(L,5);
VC:=HHV(H,5);
红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),colorred;
红线下穿卖:EMA(红线上穿买,3),colorgreen;
K1:=SMA(RSV,3,1);
DK1:=K1-REF(K1,1);
跟进:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,30,0), LINESTICK,coloryellow;
DRAWICON(跟进>0,30 ,1);