2023强势爆发突破 抓机会擒涨停《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
CHP:=REF(C,2),COLORGREEN;
CHP2:=MA(C,5);
CHP3:=MA(C,26);
CHP1:=MA((3*H+C)/4,2),COLORLICYAN;
NOTEXT1:=FORCAST(EMA(CHP,1),7),COLORGREEN;
短期趋势:=FORCAST(EMA(CLOSE,16),7),COLOR00FF00,LINETHICK2;
中期趋势:=FORCAST(EMA(CLOSE,55),7),DOTLINE,COLORFFFF00;
NOTEXT5:=IF(CHP2>短期趋势 OR C>短期趋势,短期趋势,DRAWNULL),COLOR0000FF,LINETHICK2;
NOTEXT6:=IF(短期趋势>=中期趋势,中期趋势,DRAWNULL),DOTLINE,COLOR0000FF;
CHC1:=CHP2>短期趋势 OR C>短期趋势;
CHC2:=短期趋势>=中期趋势;
CHC3:=CHC1 AND CHC2;
T1:=BARSLAST(L=LLV(L,13));
T2:=BARSLAST(CROSS(短期趋势,中期趋势));
MA89:=MA(CLOSE,13);
MA144:=MA(CLOSE,21);
MA233:=MA(CLOSE,34);
MA377:=MA(CLOSE,55);
穿:=CROSS(C,MA377)+CROSS(C,MA89)+CROSS(C,MA144)+CROSS(C,MA233);
爆发:C>O AND 穿>2 AND C/REF(C,1)-1>0.049 AND C/REF(C,1)-1<0.097 AND C>MAX(MA89,MAX(MA144,MAX(MA233,MA377))),NODRAW,COLOR4080FF;
STICKLINE(爆发,O,C,3,0),COLOR4080FF;
DRAWTEXT(爆发,H*1.08,'爆发'),COLOR4080FF;
擒:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.0572;
DRAWTEXT(擒 AND CHC3,L*0.925,'擒涨停'),COLORLIBLUE;
擒涨停:擒 AND CHC3,NODRAW,COLOR00FFFF;
STICKLINE(擒 AND CHC3,REF(C,1)*1.05,C,3,0),COLORYELLOW;
STICKLINE(擒 AND CHC3,O,REF(C,1)*1.075,3,0),COLORRED;
选股公式源码
{选股公式一:爆发}
CHP:=REF(C,2),COLORGREEN;
CHP2:=MA(C,5);
CHP3:=MA(C,26);
CHP1:=MA((3*H+C)/4,2),COLORLICYAN;
短期趋势:=FORCAST(EMA(CLOSE,16),7),COLOR00FF00,LINETHICK2;
中期趋势:=FORCAST(EMA(CLOSE,55),7),COLORFFFF00;
CHC1:=CHP2>短期趋势 OR C>短期趋势;
CHC2:=短期趋势>=中期趋势;
CHC3:=CHC1 AND CHC2;
T1:=BARSLAST(L=LLV(L,13));
T2:=BARSLAST(CROSS(短期趋势,中期趋势));
MA89:=MA(CLOSE,13);
MA144:=MA(CLOSE,21);
MA233:=MA(CLOSE,34);
MA377:=MA(CLOSE,55);
穿:=CROSS(C,MA377)+CROSS(C,MA89)+CROSS(C,MA144)+CROSS(C,MA233);
爆发:C>O AND 穿>2 AND C/REF(C,1)-1>0.049 AND C/REF(C,1)-1<0.097 AND C>MAX(MA89,MAX(MA144,MAX(MA233,MA377))),COLOR4080FF;
{选股公式二:擒涨停}
CHP:=REF(C,2),COLORGREEN;
CHP2:=MA(C,5);
CHP3:=MA(C,26);
CHP1:=MA((3*H+C)/4,2),COLORLICYAN;
短期趋势:=FORCAST(EMA(CLOSE,16),7),COLOR00FF00,LINETHICK2;
中期趋势:=FORCAST(EMA(CLOSE,55),7),COLORFFFF00;
CHC1:=CHP2>短期趋势 OR C>短期趋势;
CHC2:=短期趋势>=中期趋势;
CHC3:=CHC1 AND CHC2;
擒:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.0572;
擒涨停:擒 AND CHC3;