arconite Posted May 2, 2011 Report Share Posted May 2, 2011 Hi guys, I need help with a coding of a simple EA which can place pending orders with with the following rules and parameters: - Magic number - GMT adjustment - Time adjustment to place orders - Open Buy/Sell orders on (x) pips from previous closing price with adjustable TP and SL - If one order is executed, the other pending order is deleted (on/off) - Adjustment for pending order expiry time (on/off) - Break even and trailing stop adjustment - Lotsize adjustment - MM adjustment or a much simpler one: - Input price to trigger buy order with adjustable TP/SL - Input price to trigger sell order with adjustable TP/SL - Trailing stop and BE adjustment Some brokers have limited pip distances where you can open pending orders so is it possible to have the pending orders coded internally to the EA? For example: At 2:00 GMT+0, the last bar closed with price 1.61000 EA will execute buy at +20 pip from 1.61000 EA will execute sell at -20 pip from 1.6100 When price hits 1.61200, a buy will be triggered with 40 pip TP and 20 pip SL sell will be ignored or deleted within the EA The reason is because I was away from my computer most of the time and always miss important time/price to trade. Much appreciated! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.