EA instructions to developer - for META TRADER 5. introduction: the EA is intended to use in news trading, so it should execute very fast, it must be very lightweight script. the idea is that the user inputs the desired order tipe (buy or sell), lotsize, profit target and number of trades to open. it should alwayas use a market order execution, because if limit orders are used, the high spread could not make them execute properly. the EA will use always 3 MARKET ORDERS to trade. they both same direction, same lotsize, opened at exact same given input time. input parameters: *) precise open order time: user should just input hour, minute and second. for the trades to be opened. set "15:29:40" default value. *) order type: ( BUY or SELL) just market orders, not limit. apply to all orders. *) lotsize: ( intended to use in standard lotsize account). apply to all orders. use "1.00" as default so it would open 1 standard lot orders. *) close at time: exact time, when all open trades, regardless of their target profits, must close. set "15:31:00" default value. *) 1st order profit target: at 20 pips as default value. exit by market type order. *) 2nd order profit target: at 30 pips as default value. exit by market type order. *) 3rd order profit target: at 40 pips as default value. exit by market type order. *) break even trail stop: at 10 pips floating profit (as default value), set a break event stop. apply this to all orders. this is just to secure gains. for all this, it must count PIPS AFTER the spread. so, spread should be considered in the target profit. in case of the spike goes against the selected positions (when price goes down and "BUY" was selected; or price goes up and "SELL" was selected), then it will close them automatically with stop out function, by the broker. because it is intedend to trade with high leverage, relative to balance. so if the trades turns against them, then just wait for stop out to be done by the broker. the idea is to only use the avaliable balance, willing to lose. it must display in the chart the following information, all of them: *)terminal server live-time: day, hour, minutes and seconds (live time updated). *)time left to open the trade: minutes and seconds left (live time updated). * all the input variables values. *)live spread of the pair (updated on tick event). *)US dollar margin required for the given lotsize x 3 orders. *)US dollar stop out level for the given lotsize x 3 orders. that's it. just a fast EA to trade the news with different TPs each. thanks.