[求助]老师有空帮忙改下公式 [文华财经]
-
咨询内容:
A:=AMOUNT/V/100;VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5);操盘线:=EMA(((VARA/60)+EMA(A,60)),3);行情线:=EMA(A,20);重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;趋势线:EMA(((SLOPE(C,30)*20)+C),55),COLORYELLOW,LINETHICK2;红升:IF(重心>=趋势线,趋势线,DRAWNULL),COLORMAGENTA,LINETHICK2;蓝降:IF(重心<趋势线,趋势线,DRAWNULL),COLORBLUE,LINETHICK2;STICKLINE(行情线<操盘线,H,L,0,1),COLORGREEN;STICKLINE(行情线<操盘线,C,O,2,1),COLORGREEN;STICKLINE(行情线>=操盘线,H,L,0,1),COLORRED;STICKLINE(行情线>=操盘线,C,O,2,1),COLORRED;压力:MA(REF(HHV(C,60),1),2),COLORWHITE,LINETHICK2;支撑:MA(REF(LLV(C,60),1),2),COLORYELLOW,LINETHICK2; DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;DB:=(EMA(C,10)+EMA(C,50)+EMA(C,40)+EMA(C,80))/4;DRAWTEXT(CROSS(DA-DB,0),L*0.98,'B',COLORGRAY;JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;DRAWTEXT(CROSS(84,JH),H*1.02,'S',COLORMAGENTA;涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);STICKLINE(涨停,O,C,2,0),COLORRED;跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0);STICKLINE(跌停,O,C,2,1),COLORGREEN;
来源:程序化99
-
文华技术人员:
参考;
AMOUNT:=AVPRICE*V; A:=AMOUNT/V/100; VARA:=EMA((((A-EMA(A,13))/EMA(A,13))*(0-100)),5); 操盘线:=EMA(((VARA/60)+EMA(A,60)),3); 行情线:=EMA(A,20); 重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382; 趋势线:EMA(((SLOPE(C,30)*20)+C),55),COLORYELLOW,LINETHICK2; 红升:IF(重心>=趋势线,趋势线,NULL),COLORMAGENTA,LINETHICK2; 蓝降:IF(重心<趋势线,趋势线,NULL),COLORBLUE,LINETHICK2; STICKLINE1(行情线<操盘线,H,L,0,1),COLORGREEN; STICKLINE(行情线<操盘线,C,O,2,1),COLORGREEN; STICKLINE1(行情线>=操盘线,H,L,0,1),COLORRED; STICKLINE(行情线>=操盘线,C,O,2,1),COLORRED; 压力:MA(REF(HHV(C,60),1),2),COLORWHITE,LINETHICK2; 支撑:MA(REF(LLV(C,60),1),2),COLORYELLOW,LINETHICK2; DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4; DB:=(EMA(C,10)+EMA(C,50)+EMA(C,40)+EMA(C,80))/4; DRAWTEXT(CROSS(DA-DB,0),L*0.98,'B',COLORGRAY; JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; DRAWTEXT(CROSS(84,JH),H*1.02,'S',COLORMAGENTA; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(涨停,O,C,2,0),COLORRED; 跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(跌停,O,C,2,1),COLORGREEN;
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容