突破后回調(diào)20或60日均線的預(yù)警或選股
滿足以下條件:
1:20日 60日均線走平或者向上
2:回調(diào)前5個(gè)交易日前 突破20日 60日線后漲幅大于百分之5
3:回調(diào)時(shí)盤中可跌破20 或60線百分之三以內(nèi)
希望能做成選股和盤中預(yù)警公式,!
公式源碼:
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
大陽:=(C-REF(C,1))/REF(C,1)*100>7 AND
C>O;
多頭排列:=MA5>MA10 AND MA10>MA20 AND
MA20>MA60 AND
MA20>=REF(MA20,20);
回調(diào):=L<=MA10*1.015 AND
COUNT(C>MA10,3)>=2 AND
REF(L>MA10,1) AND C>MA20;
縮量:=V<REF(V,1) AND V<MA(V,5);
XG:EXIST(大陽,10) AND 多頭排列 AND 回調(diào) AND 縮量;
堪稱一絕
主力:=
3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),2,1),LINETHICK2;
見底信號(hào): 20, LINETHICK2,COLORRED ;
買入準(zhǔn)備: IF(主力<=0,50,0), LINETHICK2;
買入時(shí)機(jī): IF(CROSS(主力,見底信號(hào)),100,18),LINETHICK2,COLORYELLOW;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,COLORYELLOW,LINETHICK1;
紅買:FILTER(CROSS(RSI,11),7),COLORRED;
STICKLINE(紅買,0,12,6,1),COLORRED;
VAR200:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盤:=3*VAR300-2*VAR400;
A1:=CROSS(操盤,VAR300) AND VAR300<2.1 AND
C>O;
STICKLINE(A1,20,0,4,0),COLOR0000FF;
DRAWTEXT(A1,23,'滿倉'),COLORRED;
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);
TJ:=IF(Q_B<REF(Q_B,1) AND Q_B=Q_A,1,0);
堪稱一絕:STICKLINE(REF(TJ,1)=0 AND TJ>=1 AND
CCI<-40 ,0,-50,1,-1),COLORRED;
|