Create / 建立 OrderSend The main function used to open market or place a pending order. int OrderSend ( string symbol , // symbol int cmd , // operation double volume , // volume double price , // price int slippage , // slippage double stoploss , // stop loss double takeprofit , // take profit string comment=NULL , // comment int magic=0 , // magic number datetime expiration=0 , // pending order expiration color arrow_color=clrNONE // color ); Ref: https://docs.mql4.com/trading/ordersend Show how many Orders / 全部的訂單有幾筆 OrdersTotal Returns the number of market and pending orders. int OrdersTotal (); Ref: https://docs.mql4.com/trading/orderstotal Select Order (i n Transaction b y Position or by Order ID; All
留言
張貼留言