文章预览
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。 点击上方 【指标汇集】 关注 , 置顶 + 星标 每天订阅, 学习更多指标内容 分时一致追涨主图指标源码如下: DRAWTEXT_FIX(1,0.00,0.00,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'__'),GNBLOCK),'__'),DYBLOCK)),COLORLIBLUE; ABC股:=NAMEINCLUDE('ST'); 涨停倍率:=IF(FINANCE(3)=2,0.3,IF(FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6,0.2,0.1)); 涨停价:=ZTPRICE(REF(CLOSE,1),IF(ABC股,0.05,涨停倍率)); 跌停价:=DTPRICE(REF(CLOSE,1),IF(ABC股,0.05,涨停倍率)); {微信公众号:指标汇集} AT:=REF(C,BARSLAST(DAY!=REF(DAY,1))); AT1:=DYNAINFO(4); AT2:=AT-AT1; D:=DYNAINFO(20); SPEED:=AT2/AT1*100; 指标汇集6:=STRCAT('【主力值】',CON2STR(SPEED,2)); DRAWTEXT_FIX(ISLASTBAR AND SPEED < 2 AND SPEED>0.432,0.38,0.85,0,指标汇集6),COLOR00FFFF; DRAWTEXT_FIX(ISLASTBAR AND SPEED>=2.0,0.38,0.85,0,指标汇集6),COLOR0000FF;
………………………………