请老师帮助改写成文华,谢谢; [文华财经]
-
咨询内容:
VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;获利盘: WINNER(CLOSE)*100;VAR33:=SMA(VAR22,3,1);VAR44:=SMA(VAR33,9,1);VAR55:=3*VAR33-2*VAR44;VAR66:=VOL;量比: VOL/MA(VOL,5);涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;换手: VOL/CAPITAL*100;VAR77:=SUM(换手,30);VAR88:=LLV(INDEXL,5);VAR99:=HHV(INDEXH,5);VARAA:=EMA((INDEXC-VAR88)/(VAR99-VAR88)*100,4);VARBB:=MA(EMA(0.667*REF(VARAA,1)+0.333*VARAA,2),9);VARCC:=MA(VARBB,50);VARDD:=EMA(获利盘,4);本盘亿股: CAPITAL/1000000,;V5: MA(VOL,5)*2;VARE:=MA(V5,3);V34: MA(VOL,18)*2;VARF:=(涨跌>VARDD AND 角度<-30 AND 涨跌>3);CROSS(VARBB,VARCC) AND VARCC<29;CROSS(VARCC,VARBB) AND VARCC>58;STICKLINE(VOL AND VAR33>VAR44,0,VOL,3,1),COLORRED;STICKLINE(VOL AND VAR33<=VAR44,0,VOL,3,1),COLORCYAN;DRAWTEXT(CROSS(VARBB,VARCC) AND 角度<-18 AND VARCC<29,VOL*1.2,' ',COLORYELLOW;W:DRAWTEXT(CROSS(VARCC,VARBB) AND VARCC>58,VOL*1.2,'',COLORWHITE;DRAWTEXT(CROSS(VARE,V5) AND 角度>22,V5,'lt;----';VAR2:=CLOSE-REF(CLOSE,1);VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);VAR4:=REF(CLOSE,1)-CLOSE;VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);VAR6:=SUM(VAR3,16)/SUM(VAR5,16);VAR7:=100-100/(1+VAR6);VAR8:=EMA(VAR7,16);VAR9:=EMA(VAR8,8);VARA:=EMA(VAR8,45);MO:=(VAR8-VARA);ML:=(VAR9-VARA);VAR1A:=EMA(CLOSE,32);
量能:=V/REF(V,1);涨幅:=REF(C,1)/REF(C,8);振幅:=HHV(REF(C,1),12)/LLV(REF(C,1),12);BUYPOINT:量比>=2.70 AND C>REF(C,1) AND COUNT(REF(C/O>=1.095,1),8)<1AND 振幅<=1.10 AND C/O>=1 AND 涨幅>=0.9 AND COUNT(REF(C/O>=1.04,1),8)<1AND COUNT(REF(C/O<=0.95,1),8)<1,LINETHICK2;
请老师帮助改写成文华日内模型早上9.00分至14.55分,红色柱状买开,绿色柱状卖出;谢谢;来源:程序化99
-
文华技术人员:
参考:
VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 获利盘: WINNER(CLOSE)*100; VAR33:=SMA(VAR22,3,1); VAR44:=SMA(VAR33,9,1); VAR55:=3*VAR33-2*VAR44; VAR66:=VOL; 量比: VOL/MA(VOL,5); 涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; 角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; CAPITAL:=GETPRICE1('流通股本'); 换手:=VOL/CAPITAL*100; VAR77:=SUM(换手,30); INDEXC:="999001$CLOSE"; INDEXL:="999001$LOW"; INDEXH:="999001$HIGH"; INDEXO:="999001$OPEN"; VAR88:=LLV(INDEXL,5); VAR99:=HHV(INDEXH,5); VARAA:=EMA((INDEXC-VAR88)/(VAR99-VAR88)*100,4); VARBB:=MA(EMA(0.667*REF(VARAA,1)+0.333*VARAA,2),9); VARCC:=MA(VARBB,50); VARDD:=EMA(获利盘,4); 本盘亿股:=CAPITAL/10000; V5: MA(VOL,5)*2; VARE:=MA(V5,3); V34: MA(VOL,18)*2; VARF:=(涨跌>VARDD AND 角度<-30 AND 涨跌>3); STICKLINE(VAR33>VAR44,0,VOL,COLORRED,0); STICKLINE(VAR33<=VAR44,0,VOL,COLORCYAN,1);
DRAWTEXT(CROSS(VAR33>VAR44,0.5),VOL,'买 '),COLORGREEN; DRAWTEXT(CROSS(VAR33<=VAR44,0.5),VOL,'卖'),COLORMAGENTA;
DRAWTEXT(CROSS(VARBB,VARCC) AND 角度<-18 AND VARCC<29,VOL*1.2,'买 '),COLORYELLOW; DRAWTEXT(CROSS(VARCC,VARBB) AND VARCC>58,VOL*1.2,'卖'),COLORWHITE; DRAWTEXT(CROSS(VARE,V5) AND 角度>22,V5,'<----');
量能:=V/REF(V,1); 涨幅:=REF(C,1)/REF(C,8); 振幅:=HHV(REF(C,1),12)/LLV(REF(C,1),12); BUYPOINT:=量比>=2.70 AND C>REF(C,1) AND COUNT(REF(C/O>=1.095,1),8)<1 AND 振幅<=1.10 AND C/O>=1 AND 涨幅>=0.9 AND COUNT(REF(C/O>=1.04,1),8)<1 AND COUNT(REF(C/O<=0.95,1),8)<1,LINETHICK2;来源: WWW.CXH99.COM
-
文华客服:
因为模型中含有GETDEALSSUM、GETPRICE、GETPRICE1或GETSTOCKPRICE函数,不能显示历史信号
请老师改写成过滤模型,并加入日内交易
-
网友回复:
参考:
VAR22:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 获利盘: WINNER(CLOSE)*100; VAR33:=SMA(VAR22,3,1); VAR44:=SMA(VAR33,9,1); VAR55:=3*VAR33-2*VAR44; VAR66:=VOL; 量比: VOL/MA(VOL,5); 涨跌: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100; 角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; INDEXC:="999001$CLOSE"; INDEXL:="999001$LOW"; INDEXH:="999001$HIGH"; INDEXO:="999001$OPEN"; VAR88:=LLV(INDEXL,5); VAR99:=HHV(INDEXH,5); VARAA:=EMA((INDEXC-VAR88)/(VAR99-VAR88)*100,4); VARBB:=MA(EMA(0.667*REF(VARAA,1)+0.333*VARAA,2),9); VARCC:=MA(VARBB,50); VARDD:=EMA(获利盘,4); V5: MA(VOL,5)*2; VARE:=MA(V5,3); V34: MA(VOL,18)*2; VARF:=(涨跌>VARDD AND 角度<-30 AND 涨跌>3); STICKLINE(VAR33>VAR44,0,VOL,COLORRED,0); STICKLINE(VAR33<=VAR44,0,VOL,COLORCYAN,1); CROSS(VAR33,VAR44),BPK; CROSSDOWN(VAR33,VAR44),SPK; ISLASTKLINE,CLOSEOUT; AUTOFILTER; - 网友回复: 感谢老师,还有一个问题,没办法应用到自定义周期,请老师帮助改造;谢谢
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容