穿云买入上天 擒拿涨停首板【指标公式】(含选股)
绌夸簯涔板叆涓婂ぉ 鎿掓嬁娑ㄥ仠棣栨澘銆愭寚鏍囧叕寮忋戯紙鍚夎偂锛夛豢绗竴閮ㄥ垎 鍓浘鍏紡 鎵嬫満/鐢佃剳
CHA:=(3*CLOSE+LOW+OPEN+HIGH)/6;
CHD1:=(20*CHA+19*REF(CHA,1)+18*REF(CHA,2)+17*REF(CHA,3)+16*REF(CHA,4)+15*REF(CHA,5)+14*REF(CHA,6)
+13*REF(CHA,7)+12*REF(CHA,8)+11*REF(CHA,9)+10*REF(CHA,10)+9*REF(CHA,11)+8*REF(CHA,12)
+7*REF(CHA,13)+6*REF(CHA,14)+5*REF(CHA,15)+4*REF(CHA,16)+3*REF(CHA,17)+2*REF(CHA,18)+REF(CHA,20))/211;
CHD2:=EMA(CHD1,2);
CHD3:=EMA(CHD2,2);
CHK1:=EMA(CHD3,2);
娉㈡涔:=IF(CROSS(CHD1,CHK1),55,0);
涔扮嚎:=EMA(CLOSE,2);
鍗栫嚎:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
CHB:=CROSS(涔扮嚎,鍗栫嚎);
CHP1:=REF(C,1)
CHP2:=O
CHP3:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60);
CHC2:=REF(C,1);
ZT:=IF((C-CHC2)*100/CHC2>=(10-0.01*100/CHC2),1,0);
绌夸簯涔:(CHP1 AND CHP2 AND CHP3 AND ZT AND C>MA(CLOSE,120) AND 娉㈡涔 AND CHB),COLORRED;
DRAWTEXT(绌夸簯涔,0.3,'绌夸簯涔'),COLORRED;
鎬绘墜:=VOL;
閲:=鎬绘墜
CHP:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60) AND C>MA(CLOSE,120);
NOZT:=IF((C-CHC2)*100/CHC2<(10-0.01*100/CHC2),1,0);
鎿掗鏉:閲 AND ZT AND REF(NOZT,1) AND REF(NOZT,2) AND REF(NOZT,3) AND REF(NOZT,4) AND CHP;
DRAWTEXT(鎿掗鏉,0.5,'鎿掗鏉');
绗簩閮ㄥ垎 閫夎偂鍏紡
{閫夎偂鍏紡涓锛氱┛浜戜拱}
CHA:=(3*CLOSE+LOW+OPEN+HIGH)/6;
CHD1:=(20*CHA+19*REF(CHA,1)+18*REF(CHA,2)+17*REF(CHA,3)+16*REF(CHA,4)+15*REF(CHA,5)+14*REF(CHA,6)
+13*REF(CHA,7)+12*REF(CHA,8)+11*REF(CHA,9)+10*REF(CHA,10)+9*REF(CHA,11)+8*REF(CHA,12)
+7*REF(CHA,13)+6*REF(CHA,14)+5*REF(CHA,15)+4*REF(CHA,16)+3*REF(CHA,17)+2*REF(CHA,18)+REF(CHA,20))/211;
CHD2:=EMA(CHD1,2);
CHD3:=EMA(CHD2,2);
CHK1:=EMA(CHD3,2);
娉㈡涔:=IF(CROSS(CHD1,CHK1),55,0);
涔扮嚎:=EMA(CLOSE,2);
鍗栫嚎:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
CHB:=CROSS(涔扮嚎,鍗栫嚎);
CHP1:=REF(C,1)
CHP2:=O
CHP3:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60);
CHC2:=REF(C,1);
ZT:=IF((C-CHC2)*100/CHC2>=(10-0.01*100/CHC2),1,0);
绌夸簯涔:(CHP1 AND CHP2 AND CHP3 AND ZT AND C>MA(CLOSE,120) AND 娉㈡涔 AND CHB),COLORRED;
{閫夎偂鍏紡浜岋細鎿掗鏉縸
CHP1:=REF(C,1)
CHP2:=O
CHP3:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60);
CHC2:=REF(C,1);
ZT:=IF((C-CHC2)*100/CHC2>=(10-0.01*100/CHC2),1,0);
鎬绘墜:=VOL;
閲:=鎬绘墜
CHP:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,30) AND CLOSE>MA(CLOSE,60) AND C>MA(CLOSE,120);
NOZT:=IF((C-CHC2)*100/CHC2<(10-0.01*100/CHC2),1,0);
{DRAWTEXT(鎿掗鏉,0.5,'鎿掗鏉');}
鎿掗鏉:閲 AND ZT AND REF(NOZT,1) AND REF(NOZT,2) AND REF(NOZT,3) AND REF(NOZT,4) AND CHP;