通达信分时超强公式指标
超强买进涨停,三部曲,只要三颗线上穿灰线,就是拉升开始!红柱持股.粉柱强势.绿柱预示调整。
BGTYU:=IF(DATE<=1150530,1,0);
GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));
底线:1.003,COLORDBDB70,LINETHICK4;
高线:1.03,COLORRED,LINETHICK3;
黄色起动线:EMA((CLOSE/VBNH),20),COLORYELLOW,LINETHICK3;
洋红色主力线:EMA((CLOSE/VBNH),60),COLORMAGENTA,LINETHICK4;
绿色散户线:EMA((CLOSE/VBNH),120),COLORGREEN,LINETHICK4;
DRAWICON(CROSS(EMA((CLOSE/VBNH),20),1.003),EMA((CLOSE/VBNH),20)*1,1);
DRAWICON(CROSS(EMA((CLOSE/VBNH),20),EMA((CLOSE/VBNH),60)),EMA((CLOSE/VBNH),20)*1,1);
DRAWICON(CROSS(EMA((CLOSE/VBNH),60),EMA((CLOSE/VBNH),120)),EMA((CLOSE/VBNH),60)*1,7);
DRAWICON(CROSS(EMA((CLOSE/VBNH),120),EMA((CLOSE/VBNH),60)),EMA((CLOSE/VBNH),120)*1,8);
DRAWICON(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02+0.005,18);
{STICKLINE(CROSS(EMA((CLOSE/VBNH),20),1.003),1.003,1.003*1.015,10,0), COLOR38B0DE;
STICKLINE(CROSS(EMA((CLOSE/VBNH),20),EMA((CLOSE/VBNH),60)),EMA((CLOSE/VBNH),20),EMA((CLOSE/VBNH),20)*1.015,5,0), COLORMAGENTA;}
STICKLINE(EMA(C,10)>EMA(C,60) ,1.03,1.034,2.0,0),COLORRED;
STICKLINE(EMA(C,10)<EMA(C,60) ,1.03,1.025,2.0,0),COLORGREEN;
DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.02),1.02,'拉升'),COLORWHITE;
DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.04),1.04,'可能涨停'),COLORWHITE;
STICKLINE(EMA((CLOSE/VBNH),120)>1.003 ,1.03,1.039,2.0,0),COLORMAGENTA;
{DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),EMA((CLOSE/VBNH),60)),EMA((CLOSE/VBNH),20)*1.02,'★'),COLORYELLOW;
DRAWTEXT(CROSS(EMA((CLOSE/VBNH),20),1.003),EMA((CLOSE/VBNH),20)*1.02,'★'),COLORYELLOW;}
DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.028,'买进'),COLORWHITE;
DRAWICON(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.0326*1,9);
DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.0029),1.036,'观察分时量'),COLORWHITE;
DRAWTEXT(CROSS(EMA((CLOSE/VBNH),120),1.004),1.005,'超强'),COLORWHITE;
DRAWICON(CROSS(EMA((CLOSE/VBNH),120),1.004),1.003*1,9);