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

[求助]求修改文华财经使用 [文华财经]

  • 咨询内容:  EMA250:=MA(C,250);EMA6:=MA(C,6);EMA18:=MA(C,18);EMA55:=MA(C,55);EMA144:=MA(C,144);EMA288:=MA(C,288);中线【买进】:=COUNT(CLOSE<EMA18,5)=4 ANDCLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=REF(EMA18,1);IF(中线【买进】 ,40 ,0 );DRAWTEXT(中线【买进】,40,'中线【买进】',COLORRED;VL:=REF(LOW,1);GUP12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;GUP14:=MA(GUP12,13);GUP15:=LLV(LOW,34);GUP18:=EMA(IF(LOW<=GUP15,GUP14,0),3);GUP110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);GUP111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-GUP110*10.9;T:=FILTER(IF(GUP111<=GUP110 AND GUP18>REF(GUP18,1),GUP18*8,0),20);IF(T ,50 ,0 );DRAWTEXT(T,50,'洗盘完毕',COLORFF00FF;DRAWTEXT(T,50,'',COLORFF00FF;GUP21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUP22:=SMA(GUP21,3,1);GUP23:=SMA(GUP22,3,1);GUP24:=SMA(GUP23,3,1);GUP25:=CROSS(GUP23,GUP24) AND GUP23<20;IF(FILTER(GUP25,10)=1 ,50 ,0 );DRAWTEXT(FILTER(GUP25,10)=1,60,'买点',COLORRED;DRAWTEXT(FILTER(GUP25,10)=1,50,'',COLORRED;GUP29:=CROSS(GUP24,GUP23) AND GUP23>80;IF(FILTER(GUP29,5)=1,80 ,100 );DRAWTEXT(FILTER(GUP29,5)=1,80,'卖点',COLORBLUE;DRAWTEXT(FILTER(GUP29,5)=1,80,'',COLORBLUE;VARV:=(2*C+H+L)/4;VARU:=LLV(LOW,30);VARA1:=HHV(HIGH,30);B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);B1:=EMA(B,5);STICKLINE1(B-B1>0,B,B1,8,1),COLORRED;STICKLINE1(B-B1<0,B,B1,8,1),COLOR00FF00;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;低吸:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;STICKLINE(低吸,70,0,4,0),COLORWHITE;AMOUNT:=AVPRICE*V;VAR7:=EMA(AMOUNT/VOL/100,3);VAR8:=EMA(VAR7,88);VAR9:=EMA(VAR7,88)*0.85;VARA:=VAR9*0.87;VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;STICKLINE1(FILTER(VARB,6),65,0,4,0),COLORFF00FF;建仓3层:IF(FILTER(VARB,6),65,0),COLORFF00FF,POINTDOT;VARF:=(2*CLOSE+HIGH+LOW)/4;VA4:=LLV(LOW,34);VA5:=HHV(HIGH,34);VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);出击:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) ANDCLOSE>OPEN,1,0),60,0),COLORYELLOW,POINTDOT;STICKLINE1(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) ANDREF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0,4,0),COLORYELLOW;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);补仓位:IF(CROSS(D1,K1),55,0),COLOR0099FF,POINTDOT;STICKLINE1(CROSS(D1,K1),55,0,4,0),COLOR0099FF;多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);天线:=78.89;STICKLINE1(CROSS(天线,多方趋势),90,95,6,0),COLOR00FF00;VAR1:=REF(CLOSE,2);操盘线: SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORFFAA66;VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;清仓逃: IF(操盘线< REF(操盘线,1) AND 操盘线>79,操盘线,0);DRAWTEXT(清仓逃 ,70 ,'<-清仓逃',COLORYELLOW,LINETHICK1;DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1) AND C<REF(O,1) AND C/O>=1.01,L-L*0.02,'<--波段底初现',LINETHICK1;DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),L,'<--波段底',COLORBLUE,LINETHICK1;H1:=MAX(GETPRICE('CLOSE',GETPRICE('IGH');L1:=MIN(GETPRICE('CLOSE',GETPRICE('OW');P1:=H1-L1;阻力:=L1+P1*7/8,COLORGREEN;支撑:=L1+P1*0.5/8,COLORRED;中线:=(支撑+阻力)/2,COLORWHITE,POINTDOT;V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势线:EMA(V11,3),LINETHICK2,COLORMAGENTA;V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;STICKLINE(趋势线<11,趋势线,11,5,0),COLORYELLOW;AA:=(趋势线<11) AND FILTER((趋势线<=11),15) AND C<中线;BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<中线;BB1:=REF(趋势线,1)<11 AND REF(趋势线,1)>6 AND CROSS(趋势线,11);BB2:=REF(趋势线,1)<6 AND REF(趋势线,1)>3 AND CROSS(趋势线,6);BB3:=REF(趋势线,1)<3 AND REF(趋势线,1)>1 AND CROSS(趋势线,3);BB4:=REF(趋势线,1)<1 AND REF(趋势线,1)>0 AND CROSS(趋势线,1);BB5:=REF(趋势线,1)<0 AND CROSS(趋势线,0);BB:=BB1=1 OR BB2=1 OR BB3=1 OR BB4=1 OR BB5=1;STICKLINE(BB=1 AND C<中线,11,50,3,0),COLORRED;DRAWICON(BB=1 AND C<中线,55,1);DRAWTEXT(BB0,60,'买多',COLORRED;DRAWTEXT(AA,16,'待底分型',COLORYELLOW;STICKLINE(趋势线>89,趋势线,89,5,0),COLORWHITE;CC:=(趋势线>89) AND FILTER((趋势线>89),15) AND C>中线;DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线);DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线);DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线);DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线);DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;STICKLINE(DD=1 AND C>中线,89,50,3,0),COLORGREEN;DRAWICON(DD=1 AND C>中线,45,2);DRAWTEXT(DD0,40,'沽空',COLORGREEN;DRAWTEXT (CC,84,'待顶分型',COLORWHITE;顶:89,COLORGREEN;底:11,COLORRED;中:50,POINTDOT,COLORWHITE;DRAWTEXT(ISLASTBAR,顶,'',COLORGREEN;DRAWTEXT(ISLASTBAR,底,'',COLORRED;DRAWTEXT(ISLASTBAR,中,'',COLORWHITE;

     

     来源:程序化99

  • 文华技术人员:   可以直接检测通过的
    您加载看下效果

 

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

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

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

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


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

相关文章

    没有相关内容