通达信主力增仓及选股指标(源码)
DRAWTEXT(TJTS AND 市场总量=REF(市场总量,1),110," 多空平衡 "),COLORGRAY;
DRAWTEXT(TJTS AND 市场总量<REF(市场总量,1) AND DKB=1,30," 主力回补"),COLORFF9933;
DRAWTEXT(TJTS AND 市场总量<REF(市场总量,1) AND DKB=0,30," 主力出逃"),COLORGREEN;
{特别信号提示}
DRAWTEXT(TJTS AND 散户套牢比率>90,50," 筑底散兵坑 "),COLOR66FFCC;
DRAWTEXT(TJTS AND 主力控盘比率>75,50," 铸顶风险区 "),COLORCYAN;
DRAWTEXT(TJTS AND CROSS(市场总量,主力警戒) AND 主力控盘比率>主力警戒
AND 主力控盘比率>10 AND 主力警戒>REF(主力警戒,1)
AND 市场总量>REF(市场总量,1),50," 穿越主力 "),COLORRED;
DRAWTEXT(TJTS AND CROSS(市场总量,主力控盘比率)
AND 主力控盘比率>主力警戒 AND 主力控盘比率<散户套牢比率
AND 主力控盘比率>10 AND 主力警戒>REF(主力警戒,1)
AND 市场总量>REF(市场总量,1),50," 穿越主力 "),COLORYELLOW;
DRAWTEXT(TJTS AND CROSS(市场总量,散户套牢比率)
AND 散户套牢比率>主力控盘比率
AND 市场总量>REF(市场总量,1),50," 穿越散户 "),COLORGREEN;
DRAWTEXT(TJTS AND CROSS(市场总量,100)
AND 市场总量>REF(市场总量,1),50," 全盘穿越 "),COLOR3399FF;
{
选股公式:
TJTS:=ISLASTBAR;
主力筹码估算:=EMA(WINNER(CLOSE)*70,3);
散户筹码估算:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
散户套牢比率:=散户筹码估算/(主力筹码估算+散户筹码估算)*100;
主力控盘比率:=主力筹码估算/(主力筹码估算+散户筹码估算)*100;
DKB:=IF(主力控盘比率-REF(主力控盘比率,1)>散户套牢比率-REF(散户套牢比率,1),1,0);
市场总量:=MA(主力筹码估算+散户筹码估算,13);
主力增仓:TJTS AND 市场总量>REF(市场总量,1) AND DKB=1;
}
- 上一篇公式:通达信回踩选股指标(源码)
- 下一篇公式:通达信赚钱是硬道理选股指标(源码)