麻烦老师帮改下公式 [文华财经]
-
咨询内容:
MA4:MA(C,4);MA10:MA(C,10);MA20:MA(C,20);MA62:MA(C,62);MA133:MA(C,133);MA256:MA(C,256);高:=REFDATE(HHV(H,180),DATE);低:=REFDATE(LLV(L,180),DATE);H1:=高-(高-低)*0.191;H2:=高-(高-低)*0.382,COLORFF6198;H3:=高-(高-低)*0.5,COLORFFFFFF;H4:=高-(高-低)*0.618;H5:=高-(高-低)*0.809;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,高,'高',COLORGREEN;DRAWTEXT(CURRBARSCOUNT=1,H1,'809',COLORCYAN;DRAWTEXT(CURRBARSCOUNT=1,H2,'618',COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=1,H3,'中',COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=1,H4,'382',COLORLIRED;DRAWTEXT(CURRBARSCOUNT=1,H5,'191',COLORMAGENTA;DRAWTEXT(CURRBARSCOUNT=1,低,'低',COLORRED;STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;距今天:BARSSINCE(C)+1,NODRAW;ZZ:=距今天<100;条件:=TESTSKIP(ZZ=0);首日中枢:(REF(H,距今天-1)+REF(L,距今天-1))/2,NODRAW;金子发光:(首日中枢/1.5) ,COLORFFAAFF;XG:C<金子发光,COLOR00FFFF,NODRAW;发光:DRAWICON(CROSS(EMA(C,2),MA(金子发光,1)),L*0.95,17),COLORFFAAFF;
来源:程序化99
-
文华技术人员:
参考:
MA4:MA(C,4); MA10:MA(C,10); MA20:MA(C,20); MA62:MA(C,62); MA133:MA(C,133); MA256:MA(C,256); 高:=REFX1(HHV(H,180),10000); 低:=REFX1(LLV(L,180),10000); H1:=高-(高-低)*0.191; H2:=高-(高-低)*0.382,COLORFF6198; H3:=高-(高-低)*0.5,COLORFFFFFF; H4:=高-(高-低)*0.618; H5:=高-(高-低)*0.809; CURRBARSCOUNT:=DATACOUNT-BARPOS+1; 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,高,'高',COLORGREEN; DRAWTEXT(CURRBARSCOUNT=1,H1,'809',COLORCYAN; DRAWTEXT(CURRBARSCOUNT=1,H2,'618',COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=1,H3,'中',COLORYELLOW; DRAWTEXT(CURRBARSCOUNT=1,H4,'382',COLORLIGHTRED; DRAWTEXT(CURRBARSCOUNT=1,H5,'191',COLORMAGENTA; DRAWTEXT(CURRBARSCOUNT=1,低,'低',COLORRED; STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW; STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIGHTRED; STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA; STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED; 距今天:BARSSINCE(C)+1,NODRAW; ZZ:=距今天<100; //条件:=TESTSKIP(ZZ=0); 首日中枢:(REF(H,距今天-1)+REF(L,距今天-1))/2,NODRAW; 金子发光:(首日中枢/1.5) ,COLORFFAAFF; XG:C<金子发光,COLOR00FFFF,NODRAW; DRAWICON(CROSS(EMA(C,2),MA(金子发光,1)),L*0.95,17),COLORFFAAFF;
来源: WWW.CXH99.COM
-
文华客服:
老师,虚线没出来哦
-
网友回复:
您指的是哪一条?原指标中没有虚线的
- 网友回复: 老师新年好,那您可以帮加进去吗?就是数值下面有一条虚线出来,方便看黄金比例与K线的位置。
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容