通达信版 通达信江恩百分比源码副图通达信公式
答:只需加微信:396950280申请加入爱公式VIP微信群即可,天天有更新!
公式源码:
N:=6000;
高:=REFDATE(HHV(H,N),DATE);
低:=REFDATE(LLV(L,N),DATE);
H1:=高-(高-低)*1.000;
H2:=高-(高-低)*0.875;
H3:=高-(高-低)*0.750;
H4:=高-(高-低)*0.666;
H5:=高-(高-低)*0.625;
H6:=高-(高-低)*0.500;
H7:=高-(高-低)*0.375;
H8:=高-(高-低)*0.333;
H9:=高-(高-低)*0.250;
H10:=高-(高-低)*0.125;
H11:=高-(高-低)*0.000;
STICKLINE(CURRBARSCOUNT=13,高,高,100,1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H1,H1,100,1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,1),COLORCCCCCC;
DRAWTEXT(CURRBARSCOUNT=1,H1,'0.000'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,' 0.125'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,H3,' 0.250'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,' 0.333'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,' 0.375'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H6,' 0.500'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,H7,' 0.625'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,H8,' 0.666'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,H9,' 0.750'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,H10,' 0.875'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,H11,' 1.000'),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H6,H6,100,1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低,低,100,1),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H7,H7,100,1),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H8,H8,100,1),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H9,H9,100,1),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H10,H10,100,1),COLORRED;
DRAWTEXT(CURRBARSCOUNT=25,高*0.99,CON2STR(高,2)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=25,H10,CON2STR(H10,2)),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=25,H9,CON2STR(H9,2)),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=25,H8,CON2STR(H8,2)),COLORRED;
DRAWTEXT(CURRBARSCOUNT=25,H1,CON2STR(H1,2)),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=25,H2,CON2STR(H2,2)),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=25,H3,CON2STR(H3,2)),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=25,H6,CON2STR(H6,2)),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=25,H4,CON2STR(H4,2)),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=25,H5,CON2STR(H5,2)),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=25,H7,CON2STR(H7,2)),COLORRED;
DRAWTEXT(CURRBARSCOUNT=25,低*1.01,CON2STR(低,2)),COLORRED;
通达信电脑版公式导入方法
A:源码导入
1、把要导入的公式(源码)复制下来:方法是用左键先把源码变蓝,之后点右键,点复制;
2、进入主界面,即K线图模式,同时按住CTRL+F,出现公式管理器-->用鼠标左键单击任何一个公式组的名称(选择技术指标公式或者条件选股公式)-->单击其他-->点新建公式-->在出现的公式编辑区的下面的空白处,把刚拷的源码粘贴上,将公式名称复制后粘贴到公式名称栏-->确定-->退出;
3.如有参数的,如:N 1 100 15 之类,则需将这类数据填充到参数表中;
B:文件指标导入
1、先把指标文件复制到桌面(或者你知道的路径);
2、打开通达信,按CTRL+F打开公式管理器点击“导入”按钮;
3、找到桌面上要导入的公式选中”公式“后单击左键,后点击“打开”;
4、把“+”号单击展开,在公式名前的空方框里单击成“勾选”后,在点击下方的“确认”;
5、输入指标名称,回车即可。
【提供服务】
一、新编通达信主图、附图、选股公式
二、主图,附图改选股 预警公式
三、破解通达信指标
特别提示:
选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280
一个聚百万原创指标公式圈子