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

请老师帮助修改 [文华财经]

  • 咨询内容:  请老师帮助修改能在文华用的----公式(共5个公式)(1)VAR1:=(CLOSE-LLV(LOW,130))/(HHV(HIGH,130)-LLV(LOW,130))*100;VAR2:=(OPEN-LLV(LOW,130))/(HHV(HIGH,130)-LLV(LOW,130))*100;VAR3:=(HIGH-LLV(LOW,130))/(HHV(HIGH,130)-LLV(LOW,130))*100;VAR4:=(LOW-LLV(LOW,130))/(HHV(HIGH,130)-LLV(LOW,130))*100;STICKLINE(CLOSE>=OPEN,VAR3,VAR1,0.7,1);STICKLINE(CLOSE>=OPEN,VAR2,VAR4,0.7,1);STICKLINE(CLOSE<OPEN,VAR3,VAR2,0.7,1);STICKLINE(CLOSE<OPEN,VAR1,VAR4,0.7,1);STICKLINE(CLOSE=OPEN,VAR1,VAR2,7,1);STICKLINE(CLOSE>OPEN,VAR1,VAR2,7,1);STICKLINE(CLOSE<OPEN,VAR2,VAR1,7,1);
    VAR5:=REF(CLOSE,1);RSI1: SMA(MAX(CLOSE-VAR5,0),5,1)/SMA(ABS(CLOSE-VAR5),5,1)*100,COLORYELLOW;RSI2: SMA(MAX(CLOSE-VAR5,0),10,1)/SMA(ABS(CLOSE-VAR5),10,1)*100, COLORRED;STICKLINE(MIN(VAR2,VAR1)=0 AND RSI1<20 OR VAR4=0 AND RSI1<20,0,80,2,1), COLORWHITE ;
    STICKLINE(MAX(VAR2,VAR1)=100 AND RSI1>90 OR VAR3=100 AND RSI1>90,100,20,2,1),COLORYELLOW  ;20,COLORWHITE;80,COLORRED;5,COLORGREEN;95,COLORBLUE;0,COLORYELLOW;100,COLOR4080FF;110,COLORFF00FF;50,COLORFF0080;(2)STICKLINE(C>0,90,95,10,0),COLOR408000;STICKLINE(C>0,10,5,10,0),COLOR408000;HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));STICKLINE(C>0,90,10,10,0),COLOR000000;风险值:HDY,COLORCYAN,LINETHICK1;警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;(3)VARA:=LLV(LOW,35);VARB:=HHV(HIGH,30);VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;QS:= VARC,COLORWHITE;STICKLINE(VARC<10 && 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))>97,0,25,3,0),COLORYELLOW;{WWW.GUPANG.COM 股旁网_通达信股票指标公式}STICKLINE(VARC>90,100,85,3,0),COLORRED;VARD:=87.5;VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;一:=CROSS(QS,VARD) AND VARE=100;二:=CROSS(VARD,QS);三:=CROSS(QS,VARE) AND QS>87;DRAWTEXT(一,56,'目标');DRAWTEXT(二,85,'跑');DRAWTEXT(三,70,'卖');VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,30);VARAA:=HHV(HIGH,30);B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);B1:=EMA(B,5);STICKLINE(B>0 && B-B1>=0,79,80,3,0),COLORWHITE;STICKLINE(B>0 && B-B1<0,79,80,3,0),COLORCYAN;STICKLINE(B>0 && B-B1>=0,49,50,3,0),COLORRED;STICKLINE(B>0 && B-B1<0,49,50,3,0),COLORRED;STICKLINE(B>0 && B-B1>=0,19,20,3,0),COLORWHITE;STICKLINE(B>0 && B-B1<0,19,20,3,0),COLORCYAN;STICKLINE(B-B1>0,B,B1,3,1),COLORRED;STICKLINE(B-B1<0,B,B1,3,1),COLORWHITE;(4)VAR1:=REF(CLOSE,2); A2: SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100, , COLOR00FF00; 超卖1: IF(A2<12,30,0),COLORF00FF0; VAR2:=REF(CLOSE,1); VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100; 超卖2: IF(VAR3<12,30,0),COLORYELLOW; 逢高派发区: STICKLINE(A2>80,A2+1,A2-1,8,0), , COLORRED; 我走了: IF(A2< REF(A2,1) AND A2>79,A2,0),COLORGRAY;(5)V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 主力撤: IF(V4<=0,V4,0),COLORGREEN; 主力进: IF(V4>=0,V4,0); V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; {股旁网-股票公式网站 WWW.GUPANG.COM}V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 大盘资金进场: IF(VB>=0,VB,0),COLORYELLOW; 大盘资金撤走: IF(VB<=0,VB,0),COLORRED; 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); V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100; 等待机会: STICKLINE(趋势线<=13,0,20,2,0),COLORCC9900; AA:=(趋势线<=13) AND FILTER((趋势线<=13),15); DRAWTEXT (AA,30,'等待机会'),COLORCC9900; 主力买入: STICKLINE(趋势线<=13 AND V12>13,0,50,2,0),COLOR0099FF; BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ; DRAWTEXT (BB,60,'主力买入'),COLOR0099FF; 见顶清仓: STICKLINE(趋势线>=90 AND V12,0,30,5,0),COLORRED; CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);   谢谢老师!

     

  • 文华技术人员:  查看您的公式编写 需要在赢智V8.2 WH4或者赢顺V6.7中 才能实现一致的改写效果
    在赢智8.1中  改写的效果要差很多(8.1中没有最新的函数支持其他软件的改写)   您参考下 是否继续改写呢

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 1145508240  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


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

相关文章

    没有相关内容