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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信筹码大师主图指标公式源码


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

筹码启动:=1;
筹码启动1:=2;
游资筹码:=C;
MA1:MA(游资筹码,5);
MA2:MA(游资筹码,10);
MA3:MA(游资筹码,30);
MA4:MA(游资筹码,60);
DRAWKLINE(H,O,L,C);
筹码突破1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
筹码突破2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
筹码突破3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
筹码突破4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
潜伏筹码:=BARSLAST(crOSS(筹码突破4,筹码突破1))< 5 AND 筹码突破1>筹码突破4;
DRAWTEXT(COUNT(潜伏筹码,3)=1 AND 潜伏筹码 AND C>MA(C,20),LOW*1.001,' 潜伏筹码'),COLORYELLOW ;
DRAWICON(COUNT(潜伏筹码,3)=1 AND 潜伏筹码 AND C>MA(C,20),LOW*1.001,34);
筹码突破_1:=游资筹码/REF(游资筹码,1)>=1.04 AND 游资筹码/REF(游资筹码,1)<=1.075;
筹码突破_2:=游资筹码/REF(游资筹码,1)>=1.093;
STICKLINE(筹码突破_2,O,游资筹码,3,0),COLOR0077BB;
STICKLINE(筹码突破_2,O,游资筹码,2.6,0),COLOR0088CC;
STICKLINE(筹码突破_2,O,游资筹码,2.2,0),COLOR0099CC;
STICKLINE(筹码突破_2,O,游资筹码,1.8,0),COLOR00AADD;
STICKLINE(筹码突破_2,O,游资筹码,1.4,0),COLOR00bbdD;
STICKLINE(筹码突破_2,O,游资筹码,1,0),COLOR00CCEE;
STICKLINE(筹码突破_2,O,游资筹码,0.6,0),COLOR00ddeE;
STICKLINE(筹码突破_2,O,游资筹码,0.2,0),COLOR00EEFF;
STICKLINE(筹码突破_2,O,游资筹码,0.1,0),COLORYELLOW;
STICKLINE(筹码突破_2,HIGH,LOW,0,0),COLORYELLOW;
筹码扫描:(CURRBARSCOUNT=13,42),NODRAW;
划线范围:(CURRBARSCOUNT=0,55),NODRAW;
筹码突破_3:=IF(CURRBARSCOUNT<=55 AND CURRBARSCOUNT>=13 AND 筹码扫描,CONST(REF(LOW,筹码启动)),DRAWNULL);
辅助线1:IF(CURRBARSCOUNT<=55 AND 筹码扫描=0,CONST(REF(LOW,筹码启动)),DRAWNULL),DOTLINE,COLORRED;
有效k线1:筹码扫描 AND Abs((MAX(O,游资筹码)-筹码突破_3)/筹码突破_3*100)<=1.5,NODRAW;
满足1:COUNT(有效K线1,55)>=3,NODRAW;
成立线1:IF(CONST(满足1),筹码突破_3,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(有效K线1,O,游资筹码,2,0),COLORMAGENTA;
STICKLINE(有效K线1,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=筹码启动+1,O,游资筹码,2,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=筹码启动+1,LOW,HIGH,0,0),COLORMAGENTA;
筹码突破_4:=IF(CURRBARSCOUNT<=55 AND CURRBARSCOUNT>=13 AND 筹码扫描,CONST(REF(LOW,筹码启动1)),DRAWNULL);
辅助线2:IF(CURRBARSCOUNT<=55 AND 筹码扫描=0,CONST(REF(LOW,筹码启动1)),DRAWNULL),DOTLINE,COLORRED;
有效K线2:筹码扫描 AND ABS((MAX(HIGH,游资筹码)-筹码突破_4)/筹码突破_4*100)<=1.5,NODRAW;
满足2:COUNT(有效K线2,55)>=2,NODRAW;
成立线2:IF(CONST(满足2),筹码突破_4,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(有效K线2,O,游资筹码,2,0),COLORMAGENTA;
STICKLINE(有效K线2,LOW,HIGH,0,0),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=筹码启动1+1,O,游资筹码,2,0),COLORWHITE;
STICKLINE(CURRBARSCOUNT=筹码启动1+1,LOW,HIGH,0,0),COLORWHITE;
CBA326:=IF(游资筹码 AND MA(vol, 5)/240 AND 游资筹码>REF(游资筹码, 1)*1.0 AND 游资筹码,88,0);
CBA327:=IF(游资筹码/REF(游资筹码, 1)>1.050 AND VOL/CAPITAL*100< 10 AND 游资筹码< 17 AND HIGH/游资筹码< 1.010 AND CBA326>0, 91, 0);
DRAWTEXT(CBA327>90,LOW*1,' ☆主升筹码'),COLORYELLOW;
DRAWICON(CBA327>90,LOW*1.001,9);





回复

举报

QQ|

GMT+8, 2024-11-27 22:23

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