论坛全局菜单下方 - exness285X70 - 韬客社区论坛全局菜单下方 - 荔枝返现285X70 - 韬客社区论坛全局菜单下方 - ThinkMarkets285X70 - 韬客社区论坛全局菜单下方 - TICKMILL 285X70 - 韬客社区
查看:793回复:0
草龙韬客社区韬客社区
注册时间2004-12-17
[MT4指标]一键关闭所有单子
韬客社区
楼主发表于:2014-01-09 04:04只看该作者倒序浏览
1楼 电梯直达
电梯直达
可以参考这个//+------------------------------------------------------------------+ //| DeleteAllPending.mq4 | //| Copyright 2004, MetaQuotes Software Corp. | //| http://www.metaquotes.net/ | //| //+------------------------------------------------------------------+ #property copyright "Copyright 2004, MetaQuotes Software Corp." #property link "http://www.metaquotes.net/" #property show_confirm int totalPendingOrders = 0; // variable to count total pending Orders //+------------------------------------------------------------------+ //| script "Delete All pending orders" | //+------------------------------------------------------------------+ int start() { bool isDeleted; //To check order deleted is successful or not int Order_Type, total; //---- total=OrdersTotal(); //getting total orders including open and pending //---- //+------------------------------------------------------------------+ //| counting total pending orders | //+------------------------------------------------------------------+ for(int a=0; a
TK29帖子1楼右侧xm竖版广告90-240
个性签名

阅尽天下指标
搬砖开始,始于2014

广告
TK30+TK31帖子一樓廣告
TK30+TK31帖子一樓廣告
版权所有:韬客外汇论坛 www.talkfx.com 联络我们:[email protected]