穿云买入上天 擒拿涨停首板【指标公式】(含选股)第一部分 副图公式 手机/电脑
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;
|