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

指标 修改 谢谢 [文华财经]

  • 咨询内容:  MA10:MA(C,8),COLORBLACK,LINETHICK1;MA20:MA(C,18),COLORBLACK,LINETHICK1;
    MA120:MA(C,120),COLORBLACK,LINETHICK1;

    老师 你好  上面3根线   在4分钟 图形中都不要出现  谢谢

     

     来源:程序化99

  • 文华技术人员:  MA10:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,8)),COLORBLACK,LINETHICK1; MA20:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,18)),COLORBLACK,LINETHICK1;
    MA120:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,120)),COLORBLACK,LINETHICK1;  

     

     来源: WWW.CXH99.COM

  • 文华客服: 老师 你好导入之后 4分钟之前的指标 不见了 帮忙再修改一下
     MA10:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,8)),COLORRED,LINETHICK1;MA20:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,18)),COLORGREEN,LINETHICK1;
    MA120:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,120)),COLORGRAY,LINETHICK1; 

    //IF(C<MA60,MA60,NULL),RGB(0,128,128),LINETHICK2;//IF(C<MA120,MA120,NULL),RGB(0,0,255),LINETHICK2;//DRAWICON(CROSS(MA10,MA20),L,4),VALIGN0;//DRAWICON(CROSS(MA20,MA10),H,5),VALIGN2;DRAWCOLORKLINE(C>MA20,COLORRED,0);DRAWCOLORKLINE(C<=MA20,COLORGREEN,0);
    HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);//DRAWICON(CC,H,'CO5';DDD:=BARSLAST(CC);CURRBARSCOUNT:=DATACOUNT-BARPOS;GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=REFX1(DINGBUTS,10000);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=REFX1(DINGBUTS1,10000);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);


    AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);//DRAWICON(CC1,L,'CO4';DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=REFX1(DDTS1,10000);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=REFX1(DDTS2,10000);

    //DRAWHORIZONTALLINE(CURRBARSCOUNT=DDCS1,L,COLORLIGHTGREY),POINTDOT;//DRAWHORIZONTALLINE(CURRBARSCOUNT=DDCS2,L,COLORLIGHTGREY),POINTDOT;

     

  • 网友回复:  

     

  • 网友回复:   MA10:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,8)),COLORRED,LINETHICK1; MA20:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,18)),COLORGREEN,LINETHICK1;
    MA120:IF(BARINTERVAL=4&&BARTYPE=1,NULL,MA(C,120)),COLORGRAY,LINETHICK1; 

    //IF(C<MA60,MA60,NULL),RGB(0,128,128),LINETHICK2; //IF(C<MA120,MA120,NULL),RGB(0,0,255),LINETHICK2; //DRAWICON(CROSS(MA10,MA20),L,4),VALIGN0; //DRAWICON(CROSS(MA20,MA10),H,5),VALIGN2; DRAWCOLORKLINE(C>MA(C,20),COLORRED,0); DRAWCOLORKLINE(C<=MA(C,20),COLORGREEN,0);
    HIGHN:=10; LOWN:=10; HIGHDISPLAY:=0; LOWDISPLAY:=0; ZGDISPLAY:=0; MADISPLAY:=0; AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); QY:=BACKSET(AA,HIGHN+1); CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); //DRAWICON(CC,H,'CO5'; DDD:=BARSLAST(CC); CURRBARSCOUNT:=DATACOUNT-BARPOS; GDTS:=IF(CC,CURRBARSCOUNT,0); DINGBU:=IF(DDD,REF(H,DDD),H); {顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DINGBU1:=REF(DINGBU,DDD+1); GDCS1:=REFX1(DINGBUTS,10000); DINGBUTS1:=REF(DINGBUTS,DDD+1); GDCS2:=REFX1(DINGBUTS1,10000); DINGBU2:=REF(DINGBU1,DDD+1); MM:=IF(CURRBARSCOUNT>GDCS2,0,1);


    AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1); QY1:=BACKSET(AA1,LOWN+1); CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1); //DRAWICON(CC1,L,'CO4'; DD1:=BARSLAST(CC1); DDTS:=IF(CC1,CURRBARSCOUNT,0); YDB:=IF(DD1,REF(L,DD1),L); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); DDCS1:=REFX1(DDTS1,10000); ZDB:=REF(YDB,DD1+1); DDTS2:=REF(DDTS1,DD1+1); DDCS2:=REFX1(DDTS2,10000);

    //DRAWHORIZONTALLINE(CURRBARSCOUNT=DDCS1,L,COLORLIGHTGREY),POINTDOT; //DRAWHORIZONTALLINE(CURRBARSCOUNT=DDCS2,L,COLORLIGHTGREY),POINTDOT;

 

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

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

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

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


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

相关文章

    没有相关内容