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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信筹码V形反转主图指标公式源码


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

DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,0);
九十成本集中:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
CTA:COST(九十成本集中),LINETHICK2,COLORMAGENTA;
入1:IF(CTA>REF(CTA,1),CTA,DRAWNULL),COLORRED,LINETHICK2;
出1:IF(CTA< REF(CTA,1),CTA,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(CTA>L AND CTA< H,CTA,MIN(MIN(O,CLOSE),CTA),3.2,0),COLOR0077FF;
STICKLINE(CTA>L AND CTA< H,CTA,MIN(MIN(O,CLOSE),CTA),2.5,0),COLOR0099FF;
STICKLINE(CTA>L AND CTA< H,CTA,MIN(MIN(O,CLOSE),CTA),1.9,0),COLOR00BBFF;
STICKLINE(CTA>L AND CTA< H,CTA,MIN(MIN(O,CLOSE),CTA),1.2,0),COLOR00DDFF;
STICKLINE(CTA>L AND CTA< H,CTA,MIN(MIN(O,CLOSE),CTA),0.3,0),COLOR00FFFF;
STICKLINE(CTA>MIN(C,O) AND CTA< MAX(C,O),CTA,MIN(O,CLOSE),3.2,0),COLOR0077FF;
STICKLINE(CTA>MIN(C,O) AND CTA< MAX(C,O),CTA,MIN(O,CLOSE),2.5,0),COLOR0099FF;
STICKLINE(CTA>MIN(C,O) AND CTA< MAX(C,O),CTA,MIN(O,CLOSE),1.9,0),COLOR00BBFF;
STICKLINE(CTA>MIN(C,O) AND CTA< MAX(C,O),CTA,MIN(O,CLOSE),1.2,0),COLOR00DDFF;
STICKLINE(CTA>MIN(C,O) AND CTA< MAX(C,O),CTA,MIN(O,CLOSE),0.3,0),COLOR00FFFF;
STICKLINE(CTA>H,CLOSE,O,3.2,0),COLOR0077FF;
STICKLINE(CTA>H,CLOSE,O,2.5,0),COLOR0099FF;
STICKLINE(CTA>H,CLOSE,O,1.9,0),COLOR00BBFF;
STICKLINE(CTA>H,CLOSE,O,1.2,0),COLOR00DDFF;
STICKLINE(CTA>H,CLOSE,O,0.3,0),COLOR00FFFF;
STICKLINE(CTA>H,H,L,0,0),COLORGREEN;
DF2:=(C-REF(C,1))/REF(C,1)*100>5;
DF3:=(C-O)/O*100>4;
当天涨幅:(C-O)/O*100,NODRAW;
V形翻转:=crOSS(C,CTA) AND DF2;
DRAWTEXT(V形翻转,L*0.98,'↖V形翻转'),COLORYELLOW;
STICKLINE(V形翻转=1,C,O,3.2,0),COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-17 06:25

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