//+------------------------------------------------------------------+ //| modify_pending.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 //+------------------------------------------------------------------+ //| script "modify first pending order" | //+------------------------------------------------------------------+ int start() { bool result; double price,point; int cmd,total; int expiration; //---- total=OrdersTotal(); point=MarketInfo(Symbol(),MODE_POINT); //---- for(int i=0; i