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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信趋势之王MK线主图指标源码分享


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-3 10:01:48
流通市值:(FINANCE(40)/100000000),NODRAW,COLORYELLOW;
HLC:=REF(EMA((HIGH+LOW+CLOSE)/3,10),1);
HV:=EMA(HHV(HIGH,10),3);
LV:=EMA(LLV(LOW,10),3);
WEKR:=EMA(HLC*2-LV,5),LINETHICK9,COLORBLUE;


IF(C>=REF(WEKR,1),WEKR,DRAWNULL),LINETHICK9,COLORMAGENTA;
IF(C<=REF(WEKR,1),WEKR,DRAWNULL),LINETHICK9,COLORBLUE;


DRAWKLINE(HIGH,OPEN,LOW,CLOSE);


涨幅要求2:=(C/REF(C,1)-1)*100>9;
冲:=O<WEKR AND C>WEKR AND 涨幅要求2 ;
STICKLINE(冲,O,C,4,0),COLORYELLOW;
DRAWTEXT(冲,L*0.955, '冲'),COLORRED;


STICKLINE(C>O,H,L,0.01,0),COLOR00009A;
STICKLINE(C>O,H,L,0.0,0) ,COLOR0000FA;
STICKLINE(C>O,C,O,3.5,0) ,COLOR00006A;
STICKLINE(C>O,C,O,3.4,0) ,COLOR00007A;
STICKLINE(C>O,C,O,3.3,0) ,COLOR00008A;
STICKLINE(C>O,C,O,3.2,0) ,COLOR00009A;
STICKLINE(C>O,C,O,3.1,0) ,COLOR0000AA;
STICKLINE(C>O,C,O,2.8,0) ,COLOR0000BA;
STICKLINE(C>O,C,O,2.5,0) ,COLOR0000CA;
STICKLINE(C>O,C,O,2.1,0) ,COLOR0000DA;
STICKLINE(C>O,C,O,1.7,0) ,COLOR0000E5;
STICKLINE(C>O,C,O,1.2,0) ,COLOR0000EF;
STICKLINE(C>O,C,O,0.7,0) ,COLOR0000F5;
STICKLINE(C>O,C,O,0.2,0) ,COLOR0000FA;
STICKLINE(C>O,C,O,0.05,0),COLOR0000FC;




STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,L,H,0.0,0),COLOR00AACC;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,L,H,0.0,0),COLOR11FFFF;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.5,0),COLOR0044AA;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.4,0),COLOR0055AA;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.3,0),COLOR0066BB;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.2,0),COLOR0077BB;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.1,0),COLOR0088CC;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,2.8,0),COLOR0099CC;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,2.5,0),COLOR00AADD;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,2.1,0),COLOR00BBDD;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,1.7,0),COLOR00CCEE;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,1.2,0),COLOR00DDEE;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,0.7,0),COLOR00EEEE;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,0.2,0),COLOR00F0F3;
STICKLINE(C=O OR (C+0.005-REF(C,1))/REF(C,1)*100>=10,C,O,0.05,0),COLOR00F6F3;


STICKLINE(C<O,H,L,0.01,0),COLORAA4433;
STICKLINE(C<O,L,H,0.0,0) ,COLORAABB33;
STICKLINE(C<O,C,O,3.5,0) ,COLORAA4433;
STICKLINE(C<O,C,O,3.4,0) ,COLORAA5533;
STICKLINE(C<O,C,O,3.3,0) ,COLORAA6633;
STICKLINE(C<O,C,O,3.2,0) ,COLORAA7733;
STICKLINE(C<O,C,O,3.1,0) ,COLORAA8833;
STICKLINE(C<O,C,O,2.8,0) ,COLORAA9933;
STICKLINE(C<O,C,O,2.5,0) ,COLORAAAA33;
STICKLINE(C<O,C,O,2.1,0) ,COLORAABB33;
STICKLINE(C<O,C,O,1.7,0) ,COLORAACC33;
STICKLINE(C<O,C,O,1.2,0) ,COLORAADD33;
STICKLINE(C<O,C,O,0.7,0) ,COLORAAE933;
STICKLINE(C<O,C,O,0.2,0) ,COLORAAF333;
STICKLINE(C<O,C,O,0.05,0),COLORAAF633;










回复

举报

QQ|

GMT+8, 2024-11-6 00:24

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