RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K:EMA(RSV,3);
D:EMA(K,3);
J:=(3*K-2*D);
DQJD:IF(J =0,-J*5,0),LINETHICK0;
STICKLINE(J =0,0,DQJD,2,0),COLOR00FF00;
KDJ1:=REF(COUNT(J REF(J,1),5) =3,1) AND REF(J,1)
KDJ2:=J REF(J,1);
FZZ:IF(FILTER(KDJ1 AND KDJ2,3),20,0);
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
主动比:=主买/主卖*-1;{www.9m8.cn 九毛八公式指标网}
GJD:主动比-2,COLORYELLOW,NODRAW;
STICKLINE(GJD 0,0,GJD,4,0),COLORYELLOW;
VAR114:=EMA(EMA(C,13),13);
控盘:=(VAR114-REF(VAR114,1))/REF(VAR114,1)*6400;
VAR214:=100*WINNER(C*0.95);
GDK:VAR214 50 AND COST(85) C AND 控盘 0,COLORRED,NODRAW;
A10:=CROSS(控盘,0);
JJ:=DYNAINFO(11);
P:=55;S:=8;M1:=3;
能量:=(EMA(C,S)-EMA(C,P))*10;
空头:=EMA(能量,M1);
BTJ11:=(C-JJ)/JJ -0.03;
BTJ2:=控盘 REF(控盘,1) AND 控盘 -0.2;
BTJ3:=CROSS(能量,空头) AND 能量 -0.3;
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,6);
YZJ:BTJ811,NODRAW;
DRAWICON(BTJ811,-6,5);
STICKLINE(GDK,0,-2,4,0),COLORRED;
EXPMA7日:=EXPMA(CLOSE,5),NODRAW;
EXPMA14日:=EXPMA(CLOSE,10),NODRAW;
保护价:(REF(C,1)+REF(C,2)+DYNAINFO(4))/3,COLORRED,NODRAW;
强:IF(EXPMA7日 =HHV(EXPMA7日,3),EXPMA7日,DRAWNULL),NODRAW;
AI:=CROSS(EXPMA7日,EXPMA14日);
MAI:AI,NODRAW;
DRAWICON(MAI,-12,26);
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
AA1:=CROSS(J2,0);
DJC:AA1,NODRAW;
DRAWICON(DJC,-18,1);
买点1:GJD 0 AND GDK AND MAI,NODRAW;
买点2:GJD 0 AND DJC AND FZZ 10,NODRAW;