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

添加多空和声音提示 [文华财经]

  • 咨询内容:

    老师麻烦在这两个出现白绿横方框地方加上---多和空===和声音提示一下




    文件名:screenshot20220207170638.png 

     

     来源:程序化99

  • 文华技术人员:   //超买卖  AMOUNT:=AVPRICE*V; CAP:=GETPRICE1('通股本'; VAR2:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200; VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); VAR5:=3*VAR3-2*VAR4; VAR6:=LLV(LOW,5); VAR7:=HHV(HIGH,5); VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4)*2; VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2); VARA:=3*VAR8-2*VAR9; VARB:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); VARC:=POW(MA(LOW,5),2)+MA(LOW,5); VARD:=POW(MA(HIGH,5),2)+MA(HIGH,5); VARE:=(VARB-LLV(VARC,64))/(HHV(VARD,64)-LLV(VARC,64))*150+65-10; VARF:=SMA(VARE,3,1)*1.5-100; VAR10:=SMA(VARF,3,1); VAR11:=3*VARF-2*VAR10; VAR12:=(HIGH+LOW+CLOSE*2)/4; VAR13:=EMA(VAR12,13); VAR14:=STD(VAR12,13); VAR15:=(VAR12-VAR13)*100/VAR14; VAR16:=EMA(VAR15,5); VAR17:=EMA(VAR16,13); VAR18:=EMA(VAR16,13)+200-100; VAR19:=EMA(VAR18,10); VAR1A:=3*VAR18-2*VAR19; VAR1B:=VAR3+VAR8+VARF+VAR18; VAR1C:=VAR4+VAR9+VAR10+VAR19; VAR1D:=VAR5+VARA+VAR11+VAR1A; VAR1E:=(HIGH+LOW+CLOSE)/3; VAR21:=(VAR1E-MA(VAR1E,34))/(0.015*AVEDEV(VAR1E,34)); VAR22:=DMA(AMOUNT/VOL/100,VOL/CAP); VAR23:=(HIGH+LOW+CLOSE+VAR1E)/4; VAR24:=EMA(VAR23,24); VAR25:=STD(VAR23,24); VAR26:=(VAR23-VAR24)/VAR25*100; VAR27:=(VAR1E-MA(VAR1E,24))/(0.015*AVEDEV(VAR1E,24)); VAR28:=EMA(VAR26,5); VAR2B:=((VAR28+VAR27+VAR21)/3+165)/4; VAR2C:=(EMA(EMA(EMA(VAR2B,15),10),5)-25)*2; VAR2D:=(VAR1B+VAR1C+VAR1D*30)/32/5-15; VAR2E:=EMA(VAR2D,13); 攻击路线:=EMA((VAR2C+VAR2E)/2,2); 印钞痕迹:=REF(攻击路线,1); STICKLINE1(攻击路线<0,攻击路线,REF(攻击路线,1),3,0),LINETHICK3,COLORMAGENTA ; STICKLINE1(印钞痕迹<攻击路线 AND 攻击路线<0,攻击路线,REF(攻击路线,1),3,0),LINETHICK3,COLORWHITE; STICKLINE1(攻击路线>100,攻击路线,REF(攻击路线,1),3,0),LINETHICK3,COLORGREEN; STICKLINE1(攻击路线>105,110,105,10,1),COLORGREEN; STICKLINE1(攻击路线<-15,5,10,10,1),COLORWHITE; //STICKLINE1(攻击路线<100 AND 攻击路线>0,攻击路线,REF(攻击路线,1),3,0), LINETHICK3, COLORGREEN; //STICKLINE1(印钞痕迹<攻击路线 AND 攻击路线>0,攻击路线,REF(攻击路线,1),3,0),LINETHICK3, COLORRED; //STICKLINE1(攻击路线>135,115,110,10,0), COLORGREEN; //STICKLINE1(攻击路线<-26,10,15,10,0), COLORRED; //顶底    RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSV11:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 顶底线:=3*SMA(RSV11,5,1)-2*SMA(SMA(RSV11,5,1),3,1); J1:=SMA(RSV1,3,1); J11:=SMA(J1,3,1);

     

     来源: WWW.CXH99.COM

  • 文华客服: 请参考

     //超买卖  AMOUNT:=AVPRICE*V; CAP:=GETPRICE1('流通股本'); VAR2:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200; VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); VAR5:=3*VAR3-2*VAR4; VAR6:=LLV(LOW,5); VAR7:=HHV(HIGH,5); VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4)*2; VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2); VARA:=3*VAR8-2*VAR9; VARB:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); VARC:=POW(MA(LOW,5),2)+MA(LOW,5); VARD:=POW(MA(HIGH,5),2)+MA(HIGH,5); VARE:=(VARB-LLV(VARC,64))/(HHV(VARD,64)-LLV(VARC,64))*150+65-10; VARF:=SMA(VARE,3,1)*1.5-100; VAR10:=SMA(VARF,3,1); VAR11:=3*VARF-2*VAR10; VAR12:=(HIGH+LOW+CLOSE*2)/4; VAR13:=EMA(VAR12,13); VAR14:=STD(VAR12,13); VAR15:=(VAR12-VAR13)*100/VAR14; VAR16:=EMA(VAR15,5); VAR17:=EMA(VAR16,13); VAR18:=EMA(VAR16,13)+200-100; VAR19:=EMA(VAR18,10); VAR1A:=3*VAR18-2*VAR19; VAR1B:=VAR3+VAR8+VARF+VAR18; VAR1C:=VAR4+VAR9+VAR10+VAR19; VAR1D:=VAR5+VARA+VAR11+VAR1A; VAR1E:=(HIGH+LOW+CLOSE)/3; VAR21:=(VAR1E-MA(VAR1E,34))/(0.015*AVEDEV(VAR1E,34)); VAR22:=DMA(AMOUNT/VOL/100,VOL/CAP); VAR23:=(HIGH+LOW+CLOSE+VAR1E)/4; VAR24:=EMA(VAR23,24); VAR25:=STD(VAR23,24); VAR26:=(VAR23-VAR24)/VAR25*100; VAR27:=(VAR1E-MA(VAR1E,24))/(0.015*AVEDEV(VAR1E,24)); VAR28:=EMA(VAR26,5); VAR2B:=((VAR28+VAR27+VAR21)/3+165)/4; VAR2C:=(EMA(EMA(EMA(VAR2B,15),10),5)-25)*2; VAR2D:=(VAR1B+VAR1C+VAR1D*30)/32/5-15; VAR2E:=EMA(VAR2D,13); 攻击路线:=EMA((VAR2C+VAR2E)/2,2); 印钞痕迹:=REF(攻击路线,1); STICKLINE1(攻击路线<0,攻击路线,REF(攻击路线,1),3,0),LINETHICK3,COLORMAGENTA ; STICKLINE1(印钞痕迹<攻击路线 AND 攻击路线<0,攻击路线,REF(攻击路线,1),3,0),LINETHICK3,COLORWHITE; STICKLINE1(攻击路线>100,攻击路线,REF(攻击路线,1),3,0),LINETHICK3,COLORGREEN; STICKLINE1(攻击路线>105,110,105,10,1),COLORGREEN; STICKLINE1(攻击路线<-15,5,10,10,1),COLORWHITE; //STICKLINE1(攻击路线<100 AND 攻击路线>0,攻击路线,REF(攻击路线,1),3,0), LINETHICK3, COLORGREEN; //STICKLINE1(印钞痕迹<攻击路线 AND 攻击路线>0,攻击路线,REF(攻击路线,1),3,0),LINETHICK3, COLORRED; //STICKLINE1(攻击路线>135,115,110,10,0), COLORGREEN; //STICKLINE1(攻击路线<-26,10,15,10,0), COLORRED; //顶底    RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; RSV11:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; 顶底线:=3*SMA(RSV11,5,1)-2*SMA(SMA(RSV11,5,1),3,1); J1:=SMA(RSV1,3,1); J11:=SMA(J1,3,1); 攻击路线>105,SOUND('A'); 攻击路线<-15,SOUND('A'); DRAWTEXT(攻击路线>105,105,'空'); DRAWTEXT(攻击路线<-15,10,'多');

     

  • 网友回复:  发了

     

  • 网友回复:  参考2楼回复

 

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

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

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

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


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

相关文章

    没有相关内容