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

加多空字样和声音预警 [文华财经]

  • 咨询内容:  
  • 主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;B:=主趋势线>REF(主趋势线,1);IF(B-1,主趋势线,NULL),COLORBLUE,LINETHICK3;AA:=EMA(C,5) > EMA(C,20);BB:=EMA(C,5) < EMA(C,20);CC:= EMA(C,5) > EMA(C,10);CC1:=EMA(C,5) < EMA(C,10);DD:=CLOSE<OPEN;DRAWCOLORKLINE(AA,COLORRED,1);DRAWCOLORKLINE(AA AND DD,COLORRED,0);DRAWCOLORKLINE(BB,COLORGREEN,1);DRAWCOLORKLINE(BB AND DD,COLORGREEN,0);DRAWCOLORKLINE(BB AND CC,COLORWHITE,1);DRAWCOLORKLINE(BB AND CC AND DD,COLORWHITE,0);DRAWCOLORKLINE(AA AND CC1,COLORWHITE,1);DRAWCOLORKLINE(AA AND CC1 AND DD,COLORWHITE,0);AAA:=REFX1(HHV(C,90),10000);CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1;DRAWTEXT(C AND CURRBARSCOUNT=80 ,AAA, '色K线做多,绿色K线做空,白色K线观望。 ',COLORYELLOW;
    出现红色k线且价格大于50均线,加红色“多”字,声音预警;出现绿色k线且价格小于50均线,加绿色“空”字,声音预警:出现白色k线,加白色“观望”字,声音预警

     

     来源:程序化99

  • 文华技术人员:   主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3; B:=主趋势线>REF(主趋势线,1); IF(B-1,主趋势线,NULL),COLORBLUE,LINETHICK3; AA:=EMA(C,5) > EMA(C,20); BB:=EMA(C,5) < EMA(C,20); CC:= EMA(C,5) > EMA(C,10); CC1:=EMA(C,5) < EMA(C,10); DD:=CLOSE<OPEN; DRAWCOLORKLINE(AA,COLORRED,1); DRAWCOLORKLINE(AA AND DD,COLORRED,0); DRAWCOLORKLINE(BB,COLORGREEN,1); DRAWCOLORKLINE(BB AND DD,COLORGREEN,0); DRAWCOLORKLINE(BB AND CC,COLORWHITE,1); DRAWCOLORKLINE(BB AND CC AND DD,COLORWHITE,0); DRAWCOLORKLINE(AA AND CC1,COLORWHITE,1); DRAWCOLORKLINE(AA AND CC1 AND DD,COLORWHITE,0); AAA:=REFX1(HHV(C,90),10000); M1:MA(C,50); CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1; DRAWTEXT(CURRBARSCOUNT=80 ,AAA, '色K线做多,绿色K线做空,白色K线观望。 ',COLORYELLOW; DRAWTEXT(AA&&C>M1,H,''; DRAWTEXT(BB&&C<M1,H,''; DRAWTEXT(BB AND CC||AA AND CC1,H,'望'; AA&&C>M1,SOUND(''; BB&&C<M1,SOUND('';

     

     来源: WWW.CXH99.COM

  • 文华客服: 只需在第一根变色k线上加字

     

  • 网友回复:


    文件名:1627874418(1).png
     

     

  • 网友回复:   主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3; B:=主趋势线>REF(主趋势线,1); IF(B-1,主趋势线,NULL),COLORBLUE,LINETHICK3; AA:=EMA(C,5) > EMA(C,20); BB:=EMA(C,5) < EMA(C,20); CC:= EMA(C,5) > EMA(C,10); CC1:=EMA(C,5) < EMA(C,10); DD:=CLOSE<OPEN; DRAWCOLORKLINE(AA,COLORRED,1); DRAWCOLORKLINE(AA AND DD,COLORRED,0); DRAWCOLORKLINE(BB,COLORGREEN,1); DRAWCOLORKLINE(BB AND DD,COLORGREEN,0); DRAWCOLORKLINE(BB AND CC,COLORWHITE,1); DRAWCOLORKLINE(BB AND CC AND DD,COLORWHITE,0); DRAWCOLORKLINE(AA AND CC1,COLORWHITE,1); DRAWCOLORKLINE(AA AND CC1 AND DD,COLORWHITE,0); AAA:=REFX1(HHV(C,90),10000); M1:MA(C,50); CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1; DRAWTEXT(CURRBARSCOUNT=80 ,AAA, '色K线做多,绿色K线做空,白色K线观望。 ',COLORYELLOW; DRAWTEXT(BARSLASTCOUNT(AA&&C>M1)=1,H,''; DRAWTEXT(BARSLASTCOUNT(BB&&C<M1)=1,H,''; DRAWTEXT(BARSLASTCOUNT(BB AND CC||AA AND CC1)=1,H,'望'; BARSLASTCOUNT(BB AND CC||AA AND CC1)=1,SOUND(''; BARSLASTCOUNT(BB&&C<M1)=1,SOUND(''; BARSLASTCOUNT(AA&&C>M1)=1,SOUND('';

 

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

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

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

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


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

相关文章

    没有相关内容