股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力筹码突破主图指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-4-18 07:31:10

DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,STRCAT('【所属行业】:',HYBLOCK)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.11,0.01,0,STRCAT('【所属区域】:',DYBLOCK)),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.06,0,STRCAT('【所属概念】:',GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.11,0,STRCAT('【所属风格】:',FGBLOCK)),COLORGREEN;
M:=3;
CC:=COST(95);
DD:=COST(5);
筹码集中度:=(CC-DD)/(CC+DD)*100,COLORCYAN,NODRAW;
穿峰:=crOSS(CLOSE,COST(85)) AND 筹码集中度<=20;
CF:=FILTERX(穿峰,5);
HLP:=COST(85);
T:=REF(HLP,1);
ZTB:=IF(INBLOCK('科创板'),1.2,IF(INBLOCK('创业板') AND DATE>1200823,1.2 ,IF(INBLOCK('ST板块'),1.05,1.095)));
DTB:=IF(INBLOCK('科创板'),0.8,IF(INBLOCK('创业板') AND DATE>1200823,0.8 ,IF(INBLOCK('ST板块'),0.95,0.9)));
涨:=(REF(C,1)*ZTB-C)*100< 0.49 AND C=H;
停:=(C-REF(C,1)*DTB)*100< 0.51 AND C=L;
STICKLINE(C>O,H,L,0,0),COLOR7D7DFF;
STICKLINE(C>O,C,O,0,0),COLOR7D7DFF;
STICKLINE(C>O,C,O,3.1,0),COLOR1313FF;
STICKLINE(C>O,C,O,2.4,0),COLOR2424FF;
STICKLINE(C>O,C,O,2.0,0),COLOR2D2DFF;
STICKLINE(C>O,C,O,1.6,0),COLOR4444FF;
STICKLINE(C>O,C,O,1.2,0),COLOR5757FF;
STICKLINE(C>O,C,O,0.6,0),COLOR6666FF;
STICKLINE(C>O,C,O,0.1,0),COLOR7D7DFF;
STICKLINE(C< O,H,L,0,0),COLORFF9900;
STICKLINE(C< O,C,O,0,0),COLORFF5500;
STICKLINE(C< O,C,O,3.1,0),COLORFF6600;
STICKLINE(C< O,C,O,2.4,0),COLORFF7700;
STICKLINE(C< O,C,O,2.0,0),COLORFF8800;
STICKLINE(C< O,C,O,1.6,0),COLORFF9900;
STICKLINE(C< O,C,O,1.2,0),COLORFFAA00;
STICKLINE(C< O,C,O,0.6,0),COLORFFCC00;
STICKLINE(C< O,C,O,0.1,0),COLORFFFF00;
STICKLINE(停,H,L,0,1), COLOR00FF00;
STICKLINE(停,C,O,3.2,0),COLOR00FF00;
STICKLINE(涨,H,L,0,1),COLORMAGENTA;
STICKLINE(涨,C,O,3.2,0),COLORMAGENTA;
STICKLINE(CF,T,T*1.002,18,0),COLORYELLOW;
DRAWICON(CF,L,9);





回复

举报

QQ|

GMT+8, 2024-11-17 02:42

快速回复 返回顶部 返回列表