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

[求助]老师帮忙改下吧,谢谢 [文华财经]

  • 咨询内容:

    NOTEXT1:0,POINTDOT; NOTEXT21:100,POINTDOT; NOTEXT22:85,POINTDOT;大趋势:=EMA(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),3);趋势吸筹:IF(大趋势<=14,大趋势,DRAWNULL),NODRAW,COLORCYAN; DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),100,35); DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),90,35); DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),80,35);
    ZLXH2:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; ZLXH3:=EMA(ZLXH2*10,3); ZLXH4:=LLV(L,38); ZLXH5:=HHV(ZLXH3,38); ZLXH7:=EMA(IF(L<=ZLXH4,(ZLXH3+ZLXH5*2)/2,0),3)/618; ZLXH8:=IF(ZLXH7>=100,100,ZLXH7);主力吸筹:IF(ZLXH8>0,ZLXH8,DRAWNULL),COLORRED,NODRAW;
    {发财乾坤}FCQK3:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; FCQK4:=EMA(FCQK3*10,3); FCQK5:=LLV(L,13); FCQK6:=HHV(FCQK4,13); FCQK7:=EMA(IF(LOW<=FCQK5,(FCQK4+FCQK6*2)/2,0),3)/618; FCQK8:=IF(FCQK7>500,500,FCQK7);发财吸筹:IF(FCQK8>-120,ABS(FCQK8),DRAWNULL),COLORGRAY,NODRAW;黄柱:FCQK8>1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),COLORYELLOW,NODRAW;粉柱:FCQK8>0.1 AND FCQK8<1 AND "KDJ.J">REF("KDJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),COLORMAGENTA,NODRAW;最大值:=MAX(趋势吸筹,MAX(主力吸筹,发财吸筹));最小值:=MIN(趋势吸筹,MIN(主力吸筹,发财吸筹));STICKLINE(趋势吸筹=最大值,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),COLORCYAN; STICKLINE(主力吸筹=最大值,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),COLORRED; STICKLINE(发财吸筹=最大值,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),COLORGRAY; STICKLINE(RANGE(趋势吸筹,最小值,最大值)=1,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),COLORCYAN; STICKLINE(RANGE(主力吸筹,最小值,最大值)=1,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),COLORRED; STICKLINE(RANGE(发财吸筹,最小值,最大值)=1,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),COLORGRAY; STICKLINE(趋势吸筹=最小值,0,IF(趋势吸筹>0,趋势吸筹,DRAWNULL),2,0),COLORCYAN; STICKLINE(主力吸筹=最小值,0,IF(主力吸筹>0,主力吸筹,DRAWNULL),2,0),COLORRED; STICKLINE(发财吸筹=最小值,0,IF(发财吸筹>0,发财吸筹,DRAWNULL),2,1),COLORGRAY; STICKLINE(黄柱,0,FCQK8,0.1,0),COLORYELLOW; STICKLINE(粉柱,0,FCQK8,0.1,0),COLORMAGENTA; DRAWICON(CROSS(大趋势,10),最大值,23);
    VAR10:=IF(FCQK8>-120,FCQK8,0); VAR11:=VAR10<REF(VAR10,1); DRAWICON(VAR11 AND REF(NOT(VAR11),1),FCQK8+5,1); VAR12:=SMA(((HHV(C,13)-C)/(HHV(C,13)-LLV(C,13))),5,1);冲顶:2/VAR12-2,NODRAW,COLORGREEN; STICKLINE(2/VAR12-2>0,20,2/VAR12-2+20,0,-1),COLORLIRED; STICKLINE(1/13>VAR12,0+20,2/VAR12-2+20,1,0),COLORGREEN; STICKLINE(1/13>VAR12,0+20,2/VAR12-2+20,0,0),COLORGREEN;
    趋势线:大趋势-10,COLORBLUE,LINETHICK2; DRAWTEXT(FILTER(趋势线<=4,15),最大值+5,'仓区',COLORCYAN;
    快线:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;慢线:=SMA(快线,3,1),COLORRED,LINETHICK2;空:=SMA(慢线,3,1),COLOR00FF00;牛股:IF(BARSLAST(CROSS(慢线,空))<9 AND BARSLAST(CROSS(空,慢线))<9 AND CROSS(慢线,空) AND 慢线<20,100,0),COLORWHITE,LINETHICK2,STICK; AAA:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0); STICKLINE(AAA,0,60,0.5,0),COLORLIMAGENTA; BBB:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0); STICKLINE(BBB,80,100,3,0),COLORGREEN;

     

     来源:程序化99

  • 文华技术人员: 参考:
    NOTEXT1:0,POINTDOT;  NOTEXT21:100,POINTDOT;  NOTEXT22:85,POINTDOT; 大趋势:=EMA(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),3); 趋势吸筹:IF(大趋势<=14,大趋势,NULL),NODRAW,COLORCYAN;  DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),100,35);  DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),90,35);  DRAWICON(大趋势>85 AND 大趋势>REF(大趋势,1),80,35);
    ZLXH2:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;  ZLXH3:=EMA(ZLXH2*10,3);  ZLXH4:=LLV(L,38);  ZLXH5:=HHV(ZLXH3,38);  ZLXH7:=EMA(IF(L<=ZLXH4,(ZLXH3+ZLXH5*2)/2,0),3)/618;  ZLXH8:=IF(ZLXH7>=100,100,ZLXH7); 主力吸筹:IF(ZLXH8>0,ZLXH8,NULL),COLORRED,NODRAW;
    {发财乾坤} FCQK3:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;  FCQK4:=EMA(FCQK3*10,3);  FCQK5:=LLV(L,13);  FCQK6:=HHV(FCQK4,13);  FCQK7:=EMA(IF(LOW<=FCQK5,(FCQK4+FCQK6*2)/2,0),3)/618;  FCQK8:=IF(FCQK7>500,500,FCQK7); 发财吸筹:IF(FCQK8>-120,ABS(FCQK8),NULL),COLORGRAY,NODRAW;
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 黄柱:FCQK8>1 AND J>REF(J,1) AND REF(J,1)<REF(J,2),COLORYELLOW,NODRAW; 粉柱:FCQK8>0.1 AND FCQK8<1 AND J>REF(J,1) AND REF(J,1)<REF(J,2),COLORMAGENTA,NODRAW; 最大值:=MAX(趋势吸筹,MAX(主力吸筹,发财吸筹)); 最小值:=MIN(趋势吸筹,MIN(主力吸筹,发财吸筹)); STICKLINE(趋势吸筹=最大值,0,IF(趋势吸筹>0,趋势吸筹,NULL),2,0),COLORCYAN;  STICKLINE(主力吸筹=最大值,0,IF(主力吸筹>0,主力吸筹,NULL),2,0),COLORRED;  STICKLINE(发财吸筹=最大值,0,IF(发财吸筹>0,发财吸筹,NULL),2,1),COLORGRAY;  STICKLINE(RANGE(趋势吸筹,最小值,最大值)=1,0,IF(趋势吸筹>0,趋势吸筹,NULL),2,0),COLORCYAN;  STICKLINE(RANGE(主力吸筹,最小值,最大值)=1,0,IF(主力吸筹>0,主力吸筹,NULL),2,0),COLORRED;  STICKLINE(RANGE(发财吸筹,最小值,最大值)=1,0,IF(发财吸筹>0,发财吸筹,NULL),2,1),COLORGRAY;  STICKLINE(趋势吸筹=最小值,0,IF(趋势吸筹>0,趋势吸筹,NULL),2,0),COLORCYAN;  STICKLINE(主力吸筹=最小值,0,IF(主力吸筹>0,主力吸筹,NULL),2,0),COLORRED;  STICKLINE(发财吸筹=最小值,0,IF(发财吸筹>0,发财吸筹,NULL),2,1),COLORGRAY;  STICKLINE(黄柱,0,FCQK8,0.1,0),COLORYELLOW;  STICKLINE(粉柱,0,FCQK8,0.1,0),COLORMAGENTA;  DRAWICON(CROSS(大趋势,10),最大值,23);
    VAR10:=IF(FCQK8>-120,FCQK8,0);  VAR11:=VAR10<REF(VAR10,1);  DRAWICON(VAR11 AND REF(NOT(VAR11),1),FCQK8+5,1);  VAR12:=SMA(((HHV(C,13)-C)/(HHV(C,13)-LLV(C,13))),5,1); 冲顶:2/VAR12-2,NODRAW,COLORGREEN;  STICKLINE(2/VAR12-2>0,20,2/VAR12-2+20,0,-1),COLORLIGHTRED;  STICKLINE(1/13>VAR12,0+20,2/VAR12-2+20,1,0),COLORGREEN;  STICKLINE(1/13>VAR12,0+20,2/VAR12-2+20,0,0),COLORGREEN;
    趋势线:大趋势-10,COLORBLUE,LINETHICK2;  DRAWTEXT(FILTER(趋势线<=4,15),最大值+5,'仓区',COLORCYAN;
    快线:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; 慢线:=SMA(快线,3,1),COLORRED,LINETHICK2; 空:=SMA(慢线,3,1),COLOR00FF00; 牛股:IF(BARSLAST(CROSS(慢线,空))<9 AND BARSLAST(CROSS(空,慢线))<9 AND CROSS(慢线,空) AND 慢线<20,100,0),COLORWHITE,LINETHICK2,STICK;  AAA:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,20,0);  STICKLINE(AAA,0,60,0.5,0),COLORMAGENTA;  BBB:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,20,0);  STICKLINE(BBB,80,100,3,0),COLORGREEN;

     

     来源: WWW.CXH99.COM

  • 文华客服:  


    文件名:20220210162110.png

    原图标是两个圈中所示,现在是笑脸和哭脸,老师能改成原来的吗?谢谢老师。

     

  • 网友回复:  各个软件自带图标不同,文华软件中没有您图中的相似图标。
    指标公式编辑器下方“图标”按钮,可以选择您想要显示的图标,我们帮您替换下。

     

  • 网友回复:  老师好,请帮我把笑脸/哭脸换成图标库中第9排10/11,双箭头向上和双箭头向下。谢谢哈。

 

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

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

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

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


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

相关文章

    没有相关内容