= ReAlertSeconds) {" /> = ReAlertSeconds) {" />

全文预览

MT4可视化自动报警器指标,可自动监视一有行情就报警.doc

上传者:hnxzy51 |  格式:doc  |  页数:4 |  大小:0KB

文档介绍
ICE1, Close[0] * (1- AutoMoveRange)); ObjectSet("AlertArrow2" ,OBJPROP_TIME1, Time[0] + Period() * XShift * 60); }} if(Close[0] <= AlertArrow2Price && TimeLocal() - Alert2LastTime >= ReAlertSeconds) { if(Alert2Times > 0) { PlaySound("alert2.wav"); //Alert("AlertArrow2: 价格触及报警线! 剩余提醒次数: "+ Alert2Times); //--------Debug--------- Alert2Times--; Alert2LastTime = TimeLocal(); } if(AutoMove && Alert2Times == 0) { ObjectSet("AlertArrow1", OBJPROP_PRICE1, Close[0] * (1+ AutoMoveRange)); ObjectSet("AlertArrow1" ,OBJPROP_TIME1, Time[0] + Period() * XShift * 60); ObjectSet("AlertArrow2", OBJPROP_PRICE1, Close[0] * (1- AutoMoveRange)); ObjectSet("AlertArrow2" ,OBJPROP_TIME1, Time[0] + Period() * XShift * 60); }} //---- return(0); } //+------------------------------------------------------------------+

收藏

分享

举报
下载此文档