:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:SMA(RSV,2,1);
D:SMA(K,2,1);
J:3*K-2*D,;
K1:=MA(K,3);
D1:=MA(D,3);
J1:=MA(J,3);
ZT:=CLOSE =REF(CLOSE,1)*1.045;
AA:=REF(C =O,2) AND REF(H =REF(H,1)AND L =REF(L,1),1) AND O REF(L,1) AND C O AND C =REF(H,2) AND REF(EVERY(C/REF(C,1) 1,2),3);
BB:=COUNT(ZT,30)
CC:=COUNT(EVERY(ZT,2),15)
DIFF:=EMA(CLOSE,5)-EMA(CLOSE,13);
DEA:=EMA(DIFF,7);
:=(DIFF-DEA)*2;
MACD条件:=MACD =REF(MACD,1) AND MACD MA(MACD,5) AND REF(MACD,1) REF(MA(MACD,5),1) AND REF(MACD,1) -0.05 AND MACD-MA(MACD,5) =0.01;
多头排列:=
MA(C,20) MA(C,30); AND
MA(C,30) MA(C,60) AND
MA(C,60) MA(C,100) AND
MA(C,20) =REF(MA(C,20),1) AND
MA(C,30) =REF(MA(C,30),1) AND MA(C,60) =REF(MA(C,60),1) AND
MA(C,100) =REF(MA(C,100),1);
多头排列1:=
MA(C,20) MA(C,30); AND
MA(C,30) MA(C,60); AND
MA(C,20) =REF(MA(C,20),1) AND
MA(C,30) =REF(MA(C,30),1) AND
MA(C,60) =REF(MA(C,60),1); ;
多头排列2:=
MA(C,20) MA(C,60); AND
MA(C,20) =REF(MA(C,20),1) AND
MA(C,60) =REF(MA(C,60),1); ;
多头排列3:=
MA(C,30) MA(C,60); AND
MA(C,30) =REF(MA(C,30),1) AND
MA(C,60) =REF(MA(C,60),1); ;
多头排列4:=
MA(C,20) =REF(MA(C,20),1) OR
MA(C,100) =REF(MA(C,100),1) ;
上个KD:=BARSLAST(REF(CROSS(K,D),1));
上个KD死叉:=BARSLAST(REF(CROSS(D,K),1));
死叉金叉降幅:=(REF(D,上个KD死叉+1)-D)/REF(D,上个KD死叉+1);
上个K50金叉:=BARSLAST(REF(CROSS(K,50),1));
K50二次金叉:=CROSS(K,50) AND 上个KD金叉 =上个K50金叉;
K20金叉:=CROSS(K,20) AND C
KD金叉:=CROSS(K,D) AND D 20 AND C
波背离2:= REF(J,1) -3 AND J REF(J,1) AND C
大白:=EVERY(D =25,3) AND; K =REF(K,1); AND (J-REF(J,1)) 8 AND C
波:= REF(K,1) 20 AND K REF(K,1) AND C
段:=K1 =20 AND C O; ;
超跌8日:= (REF(H,9)-REF(C,1))/REF(H,9)
超跌5日:= (REF(H,6)-REF(C,1))/REF(H,6) 0.15;
超跌3日:=(REF(H,4)-REF(C,1))/REF(H,4)
N日超跌:=(HHV(H,9)-REF(C,1))/HHV(H,9) 0.15;
超跌条件:=REF(J,1) 0 AND J REF(J,1); AND C =O AND (超跌8日 OR 超跌5日 OR 超跌3日);
超跌条件1:=REF(J,1) 0 AND J REF(J,1); AND C =O AND N日超跌;
连板条件:=REF(J,1) 20 AND
J REF(J,1) AND C =O AND CC;
绿箭头超跌条件:=超跌条件1 OR 连板条件;
早晨之星:=(REF((MIN(C,O)-L) ABS((O-C)),1) OR REF(C=O,1)) AND H REF(H,1) AND REF(O C,2) AND REF(O C,3) AND REF(L,2) REF(L,1) AND L REF(L,1); AND (HHV(H,6)-REF(L,1))/HHV(H,6) 0.08 AND C
DRAWICON(大白 AND NOT(REF(大白,1)) ,25,1);
DRAWTEXT(K50二次金叉; AND 多头排列3,50, 50 ),COLOR00FFFF;
DRAWTEXT(MACD条件; ,17, 金叉 ),COLOR00FFFF;
DRAWTEXT(波 AND NOT(REF(波,1)); ,80, 波 ),COLOR00FFFF;
DRAWTEXT(段 AND NOT(REF(段,1)) ,64, 段 ),COLOR00FFFF;
DRAWICON(绿箭头超跌条件 AND NOT(REF(绿箭头超跌条件,1)) ,46,2),COLOR00FFFF;
DRAWTEXT(早晨之星; ;,98, 早 ),COLOR00FFFF;