|
Hi
Any chance the following will eliminate multiple entries?Any comments or suggestons to make safety improvements?
Hi
Working on the following on metatrader EA improvements for live trading
I am thinking of using EAS for trading a master and slave.
>
> 1)The master will be created with maximum emphasis on safety and
> security.The master will monitor all orders sent and prevent duplicate
> orders and multiple orders created by ordersend functions.The master
> will log all orders sent and wait 10 mins before resending order. And
> before resending it will check orders filled and open positions , it
> will do the same everytime the metatrader programme reboots and will
> never allow orders above the maximum to be sent.
>
> 2)Sometimes, when several EAs start trading at the same time, trading
> functions may fail because the trading context is busy and only one EA
> is allowed to trade at the moment. So, other EAs will not open
> positions/modify orders etc. and the signal will be missed. To avoid
> this, you can either use WaitUntilTradingIsAllowed() function or
> StartTrading()/StopTrading() functions.
>
> 3)Your work will ensure the EA performs robustly and EA is coded to
> deal with situations where MT > feed is interrupted in some way. For
> instance, many/most EA's take no > account of MT simply being closed
> down and restarted - one of the most > basic requirements - and lose
> all their trade stats....The master will also not allow duplicate
> trades created by requotes in times of high volatility
>
> 4)A lot of EAS are not able to deal with requotes and platforms
> freezing during high volatility.The order send functions often send
> multiiple orders whilst the platforms are frozen.Please advise how you
> will code this.
>
> 5)The master will override the functions of the slave on many other
> commands.
El
|