您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

改文华格式 [文华财经]

  • 咨询内容:  N:=30;N2:=7;M:=4;DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,ཇ',0);STICKLINE(C>=O,C,O,3,0),COLOR000045;STICKLINE(C>=O,C,O,2.5,0),COLOR000065;STICKLINE(C>=O,C,O,2,0),COLOR000085;STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;STICKLINE(C>=O,C,O,1,0),COLOR0000C5;STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;STICKLINE(C>=O,H,L,0,0),COLOR0000F5;STICKLINE(C<O,C,O,3,0),COLOR656500;STICKLINE(C<O,C,O,2.5,0),COLOR757500;STICKLINE(C<O,C,O,2,0),COLOR858500;STICKLINE(C<O,C,O,1.5,0),COLOR959500;STICKLINE(C<O,C,O,1,0),COLORA5A500;STICKLINE(C<O,C,O,0.5,0),COLORB5B500;STICKLINE(C<O,H,L,0,0),COLORC5C500;P10:EMA(CLOSE,10)COLORWHITE,LINETHICK2;P60:EMA(CLOSE,60)COLORYELLOW,LINETHICK2;EXP金叉:=CROSS(P10,P60);DRAWICON(EXP金叉,LOW-0.2,1);DRAWTEXT(EXP金叉,LOW-0.7,'),COLORLIMAGENTA;跌破:=CROSS(P60,CLOSE);DRAWICON(跌破,HIGH+0.1,2);DRAWTEXT(跌破,HIGH+0.3,'),COLORGREEN;低位1:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.50&&(HIGH/LOW)-1>0.07;吊劲线:=MAX(OPEN,CLOSE)&&HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE));射日线:=MIN(OPEN,CLOSE)&&HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW);EFCT1:=低位1&&吊劲线;DRAWICON(EFCT1,LOW-0.2,1);DRAWTEXT(EFCT1,LOW-0.5,'★吊射买入'),COLORYELLOW;EFCT2:=低位1&&射日线;DRAWICON(EFCT2,LOW-0.2,1);DRAWTEXT(EFCT2,LOW-0.5,'★吊射买入'),COLORYELLOW;低位2:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.40&&(HIGH/LOW)-1>0.07;地开大阳线:=OPEN/REF(CLOSE,1)<=1-M/100 && CLOSE/OPEN>=1+N2/100;FEX:=低位2&&地开大阳线;DRAWICON(FEX,LOW-0.5,1);DRAWTEXT(FEX,LOW-0.7,'分批建仓')COLORRED;高1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);突:REF(EMA(C,14),1)COLORMAGENTA,LINETHICK2;A1X:=(EMA(C,14)-突)/突*100,NODRAW;上:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRED,LINETHICK2;下:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGREEN,LINETHICK2;STICKLINE(A1X>=0,上,突,0,-1)COLORRED;STICKLINE(A1X<0,下,突,0,-1)COLORGREEN;STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;STICKLINE(CROSS(A1X,0),H,L,0,1)COLORYELLOW;STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;STICKLINE(CROSS(0,A1X),H,L,0,1)COLORGREEN;落:IF(A1X<0,突,DRAWNULL)COLORGREEN,LINETHICK2;DP:=REF(EMA(INDEXC,14),1);DPX:=(EMA(INDEXC,14)-DP)/DP*100;DRAWICON(CROSS(0,A1X),HIGH+0.2,15);DRAWTEXT(CROSS(0,A1X),HIGH+0.3,')COLORGREEN;DRAWICON(CROSS(P10,突),LOW-0.2,1);DRAWTEXT(CROSS(P10,突),LOW-0.5,')COLORMAGENTA;Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;STICKLINE((C=ZTPRICE(REF(CLOSE,1),0.1) AND C=H),O,C,3,0),COLORYELLOW;STICKLINE((C=DTPRICE(REF(CLOSE,1),0.1) AND C=L),O,C,3,0),COLORGREEN; 

     

     来源:程序化99

  • 文华技术人员:  请参考
    INDEXC:="999001$C"; N:=30; N2:=7; M:=4; DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0); STICKLINE(C>=O,C,O,3,0),COLOR000045; STICKLINE(C>=O,C,O,2.5,0),COLOR000065; STICKLINE(C>=O,C,O,2,0),COLOR000085; STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5; STICKLINE(C>=O,C,O,1,0),COLOR0000C5; STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5; STICKLINE(C>=O,H,L,0,0),COLOR0000F5; STICKLINE(C<O,C,O,3,0),COLOR656500; STICKLINE(C<O,C,O,2.5,0),COLOR757500; STICKLINE(C<O,C,O,2,0),COLOR858500; STICKLINE(C<O,C,O,1.5,0),COLOR959500; STICKLINE(C<O,C,O,1,0),COLORA5A500; STICKLINE(C<O,C,O,0.5,0),COLORB5B500; STICKLINE(C<O,H,L,0,0),COLORC5C500; P10:EMA(CLOSE,10),COLORWHITE,LINETHICK2; P60:EMA(CLOSE,60),COLORYELLOW,LINETHICK2; EXP金叉:=CROSS(P10,P60); DRAWICON(EXP金叉,LOW-0.2,1); DRAWTEXT(EXP金叉,LOW-0.7,'#39),COLORMAGENTA; 跌破:=CROSS(P60,CLOSE); DRAWICON(跌破,HIGH+0.1,2); DRAWTEXT(跌破,HIGH+0.3,'#39),COLORGREEN; 低位1:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.50&&(HIGH/LOW)-1>0.07; 吊劲线:=MAX(OPEN,CLOSE)&&HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)); 射日线:=MIN(OPEN,CLOSE)&&HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW); EFCT1:=低位1&&吊劲线; DRAWICON(EFCT1,LOW-0.2,1); DRAWTEXT(EFCT1,LOW-0.5,'吊射买入',COLORYELLOW; EFCT2:=低位1&&射日线; DRAWICON(EFCT2,LOW-0.2,1); DRAWTEXT(EFCT2,LOW-0.5,'吊射买入',COLORYELLOW; 低位2:=(HHV(C,N)-REF(C,1))/HHV(C,N)>=0.40&&(HIGH/LOW)-1>0.07; 地开大阳线:=OPEN/REF(CLOSE,1)<=1-M/100 && CLOSE/OPEN>=1+N2/100; FEX:=低位2&&地开大阳线; DRAWICON(FEX,LOW-0.5,1); DRAWTEXT(FEX,LOW-0.7,'批建仓',COLORRED; 高1:=REF(HHV(H,150),3); 低1:=REF(LLV(L,150),3); 突:REF(EMA(C,14),1),COLORMAGENTA,LINETHICK2; A1X:=(EMA(C,14)-突)/突*100,NODRAW; 上:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),NULL),COLORRED,LINETHICK2; 下:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),NULL),COLORGREEN,LINETHICK2; STICKLINE(A1X>=0,上,突,0,-1),COLORRED; STICKLINE(A1X<0,下,突,0,-1),COLORGREEN; STICKLINE(CROSS(A1X,0),C,O,2,0),COLORYELLOW; STICKLINE(CROSS(A1X,0),H,L,0,1),COLORYELLOW; STICKLINE(CROSS(0,A1X),C,O,2,0),COLORGREEN; STICKLINE(CROSS(0,A1X),H,L,0,1),COLORGREEN; 落:IF(A1X<0,突,NULL),COLORGREEN,LINETHICK2; DP:=REF(EMA(INDEXC,14),1); DPX:=(EMA(INDEXC,14)-DP)/DP*100; DRAWICON(CROSS(0,A1X),HIGH+0.2,15); DRAWTEXT(CROSS(0,A1X),HIGH+0.3,'#39),COLORGREEN; DRAWICON(CROSS(P10,突),LOW-0.2,1); DRAWTEXT(CROSS(P10,突),LOW-0.5,'#39),COLORMAGENTA;

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容