[求助]修改公式错误 [文华财经]
-
咨询内容:
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;
R1:=(2*H+3*均价)/5;
KX:=(R+R1)/2;
ZJ1:=AMOUNT/VOL/100;
ZJ3:=SUM(AMOUNT,35)/ZJ1/100;
ZJ4:=DMA(KX,VOL/ZJ3);
ZJ:=100*(KX-ZJ4)/ZJ4;
上轨:(MA(ZJ,20)+STDP(ZJ,20)),COLORYELLOW;
下轨:(MA(ZJ,20)-STDP(ZJ,20)),COLORGREEN;
强轨:(MA(ZJ,20)+1.7*STDP(ZJ,20)),COLORRED;
弱轨:(MA(ZJ,20)-1.7*STDP(ZJ,20)),COLORCYAN;
FILLRGN(KX,上轨,下轨),COLORBLUE;
FILLRGN(KX,上轨,强轨),COLORBROWN;
FILLRGN(KX,弱轨,下轨),COLORAAAA00;
标准线:ZJ,COLORWHITE,LINETHICK2;
强弱线:(上轨+下轨)/2,LINEDASHDOT,COLORYELLOW;
CCI:(R-MA(R,84))/(0.015*AVEDEV(R,84))/20,COLORYELLOW,LINETHICK2;
做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLORMAGENTA,LINETHICK;
PARTLINE(CCI<做多,CCI),COLORFFCCAA,LINETHICK2;
WR1:(100*(HHV(R1,42)-KX)/(HHV(R1,42)LLV(R,42)))/20*5-10,COLORMAGENTA,LINETHICK2;
做空:(3*SMA(WR1,2,1)+2*SMA(SMA(WR1,2,1),2,1))/5,COLOR00BB00,LINETHICK;
PARTLINE(WR1>做空,WR1),COLOR00BB00,LINETHICK2;
0,COLORYELLOW;
5,COLOR6600FF,LINEDOT;
在这行提示错误,请老师帮忙修改一下
文件名:捕获.png
FILLRGN(KX,上轨,强轨),COLORBROWN;
来源:程序化99
-
文华技术人员:
不同软件的函数处理机制不同,加载效果略有差异是正常的,请理解,参考:
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;
R1:=(2*H+3*均价)/5;
KX:=(R+R1)/2;
AMOUNT:=AVPRICE*V;
ZJ1:=AMOUNT/VOL/100;
ZJ3:=SUM(AMOUNT,35)/ZJ1/100;
ZJ4:=DMA(KX,VOL/ZJ3);
ZJ:=100*(KX-ZJ4)/ZJ4;
上轨:(MA(ZJ,20)+STDP(ZJ,20)),COLORYELLOW;
下轨:(MA(ZJ,20)-STDP(ZJ,20)),COLORGREEN;
强轨:(MA(ZJ,20)+1.7*STDP(ZJ,20)),COLORRED;
弱轨:(MA(ZJ,20)-1.7*STDP(ZJ,20)),COLORCYAN;
FILLRGN(KX,上轨,下轨,COLORBLUE);
FILLRGN(KX,上轨,强轨,COLORGRAY);
FILLRGN(KX,弱轨,下轨,COLORAAAA00);
标准线:ZJ,COLORWHITE,LINETHICK2;
强弱线:(上轨+下轨)/2,DASHDOT,COLORYELLOW;
CCI:(R-MA(R,84))/(0.015*AVEDEV(R,84))/20,COLORYELLOW,LINETHICK2;
做多:(3*SMA(CCI,2,1)+2*SMA(SMA(CCI,2,1),2,1))/5,COLORMAGENTA,LINETHICK2;
PARTLINE(CCI<做多,CCI,COLORFFCCAA),LINETHICK2;
WR1:(100*(HHV(R1,42)-KX)/(HHV(R1,42)*LLV(R,42)))/20*5-10,COLORMAGENTA,LINETHICK2;
做空:(3*SMA(WR1,2,1)+2*SMA(SMA(WR1,2,1),2,1))/5,COLOR00BB00,LINETHICK2;
PARTLINE(WR1>做空,WR1,COLOR00BB00),LINETHICK2;
0,COLORYELLOW;
5,COLOR6600FF,DOT;
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 或微信:cxhjy888 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容