|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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 |
|
|||
|
El Cid, as I have said before, 95% of EAs are just done to check an idea - it's this 95% that are freely available! Every mishap you have mentioned can be accounted for in code but it can take longer to make an EA 'robust' than it took to code the main idea - believe it or not!
But the only reason an EA will send multiple orders is shoddy programming - get yourself a better programmer ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Send Mail | cardio | Setup Questions | 7 | 10-23-2006 03:51 AM |
| Send Order problem | intelligent_14 | Questions | 0 | 08-03-2006 10:37 AM |
| Multiple Order Entry timing....coding help requested.. | Aaragorn | General Discussion | 2 | 07-18-2006 12:17 AM |
| Script to Send Emails | babarmughal | Expert Advisors - Metatrader 4 | 7 | 05-16-2006 02:27 AM |