第一部分 副图公式 手机/电脑
CAIH:=REF(C,2),COLORGREEN;
CAIH2:=MA(C,5);
CAIH3:=MA(C,26);
CAIH1:=MA((3*H+C)/4,2),COLORLICYAN;
NOTEXT1:=FORCAST(EMA(CAIH,1),7),COLORGREEN;
短期趋势:=FORCAST(EMA(CLOSE,16),7),COLOR00FF00,LINETHICK2;
中期趋势:=FORCAST(EMA(CLOSE,55),7),DOTLINE,COLORFFFF00;
NOTEXT5:=IF(CAIH2>短期趋势 OR C>短期趋势,短期趋势,DRAWNULL),COLOR0000FF,LINETHICK2;
NOTEXT6:=IF(短期趋势>=中期趋势,中期趋势,DRAWNULL),DOTLINE,COLOR0000FF;
CHC1:=CAIH2>短期趋势 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)-1MAX(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)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;
第二部分 选股公式 |