通达信江南大 贝度 场老师的tdx涨停先锋公式
通达信江南大 贝度 场老师的tdx涨停先锋公式
背景: DRAWGBK(1,RGB(25,25,112),RGB(0,0,128),0,1,0);
量价:=(VOL/CLOSE)/3;
统计主动买量:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);
统计主动卖量:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);
涨停能量:((统计主动买量)/统计主动卖量)*10,NODRAW,COLORRED;
DRAWTEXT_FIX(1,0.04,0,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.1,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.1,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.1,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.1,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.1,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.2,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.2,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.2,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.2,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.2,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.3,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.3,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.3,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.3,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.3,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.4,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.4,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.4,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.4,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.4,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.5,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.5,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.5,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.5,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.5,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.6,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.6,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.6,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.6,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.6,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.7,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.05,0.7,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.06,0.7,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.07,0.7,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.08,0.7,0,"▇"),COLORGRAY;
DRAWTEXT_FIX(1,0.04,0.8,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0.8,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.8,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.8,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0.8,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.04,0.9,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.05,0.9,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.9,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.07,0.9,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.08,0.9,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.04,1,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.05,1,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.06,1,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.07,1,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(1,0.08,1,0,"▇"),COLORWHITE;
DRAWTEXT_FIX(涨停能量>30,0.04,0,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.05,0,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.06,0,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.07,0,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.08,0,0,"▇"),COLORYELLOW;
DRAWNUMBER_FIX(涨停能量 AND ISLASTBAR,0.04,0,0,涨停能量),LINETHICK8,COLORRED;
DRAWTEXT_FIX(涨停能量>30,0.04,0.1,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.05,0.1,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.06,0.1,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.07,0.1,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.08,0.1,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.04,0.2,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.05,0.2,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.06,0.2,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.07,0.2,0,"▇"),COLORYELLOW;
DRAWTEXT_FIX(涨停能量>30,0.08,0.2,0,"▇"),COLORYELLOW;
- 上一篇公式:通达信突破压力线买入公式
- 下一篇公式:通达信分类持仓副图指标