{涨停回马枪主图} ZT:=C/REF(C,1)>1.097; XH:=FILTER(ZT,13); BH:=BARSLAST(ZT); CZ:=REF(H,BH)-REF(L,BH); STICKLINE(C,(REF(L,BH)+CZ*0.5),(REF(L,BH)+CZ*0.5),7,0),COLORRED; STICKLINE(C,REF(L,BH),REF(L,BH),7,0),COLORBLUE; STICKLINE(ZT,REF(O,BH),REF(C,BH),7,0),COLORYELLOW; DRAWTEXT(ZT,L*0.98,'涨停'),COLORF00FF0; VARZT:=BARSLAST(C/REF(C,1)>1.097); STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF; DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW; STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF; DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW; STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF; DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW; STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF; DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW; STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF; DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW; STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD; DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW; STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600; DRAWTEXT(VARZT=54,L*0.95,'55天'),COLORYELLOW; STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00; DRAWTEXT(VARZT=88,H*1.06,'89天'),COLORYELLOW; STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF; DRAWTEXT(VARZT=143,L*0.95,'144天'),COLORYELLOW; STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033; DRAWTEXT(VARZT=232,H*1.06,'233天'),COLORYELLOW; STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966; DRAWTEXT(VARZT=376,L*0.95,'377天'),COLORYELLOW; |
涨停回马枪副图指标
AA:=(C-REF(C,1))/REF(C,1)*100>9.645;
COUNT(AA,10) AND C>MA(C,10) ANDC<MA(C,5) AND MA(V,2)<MA(V,13) ANDMA(C,20)>MA(C,30) AND
NDAY(MA(C,20),REF(MA(C,20),1),5) ANDNDAY(MA(C,30),REF(MA(C,30),1),5)ANDV<REF(V,2);
均价线:=AMOUNT/V/100;
C2:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,0,5,6,0),COLORYELLOW;
DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;
MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;
支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
LC :=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
震仓线:=45;
震仓线2:=50;
逃命线:=80;
抄底线:=20;
绝底线:=5;
PP2:=操作线<震仓线2ANDREF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线ANDREF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线ANDREF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;
STICKLINE(PP AND HH,0,5,3,0),COLORRED;
STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;
DRAWTEXT(PP2 AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP AND HH,8,'预警'),COLORRED;
DRAWTEXT(PP3 AND HH,8,'预警'),COLORRED;
A:=SMA(L,4,3) ;
绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) ANDHH)),1,0 );
STICKLINE(A AND REF(PP,1) AND HH ,0,10,1,0),COLORGREEN;
DRAWICON(A AND REF(PP,1) AND HH,12,1);
STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;
DRAWICON(A AND REF(PP3,1) AND HH,12,1);
选股公式源码:
涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
震仓线:=45;
震仓线2:=50;
抄底线:=20;
PP2:=操作线<震仓线2ANDREF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线ANDREF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线ANDREF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
A:=SMA(L,4,3) ;
绿色买入:((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH));
涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
震仓线:=45;
抄底线:=20;
PP:=操作线<震仓线 AND REF(操作线,1)>震仓线;
PP3:=操作线<抄底线 ANDREF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
(REF(PP,1) AND HH) OR (REF(PP3,1) AND HH);
回马枪预警
在开盘前9:25前打开预警9:30后可操作了,机会是你
AA:=(C-REF(C,1))/REF(C,1)*100>9.645;
COUNT(AA,10) AND C>MA(C,10) ANDC<MA(C,5) AND MA(V,2)<MA(V,13) ANDMA(C,20)>MA(C,30) AND
NDAY(MA(C,20),REF(MA(C,20),1),5) ANDNDAY(MA(C,30),REF(MA(C,30),1),5)AND V<REF(V,2);