lbranjord
Well-known member
- Messages
- 453
- Likes
- 15
Quick question. Coding my first real EA here.
I want a sell limit that expires after a certain time. Is this possible or do I have to code my own method? Another question, how do I cancel a pending order, or cancel all pending orders?
Here's an example of my pathetic code
OrderSend(Symbol(), OP_SELLLIMIT, Lot, Midpoint,Slippage,Stoploss,Target,"Bearish Outside Bar", 0, 0,CLR_NONE);
I want a sell limit that expires after a certain time. Is this possible or do I have to code my own method? Another question, how do I cancel a pending order, or cancel all pending orders?
Here's an example of my pathetic code
OrderSend(Symbol(), OP_SELLLIMIT, Lot, Midpoint,Slippage,Stoploss,Target,"Bearish Outside Bar", 0, 0,CLR_NONE);