This can easily be fixed - EA's that sends OrderModify requests every tick - assuming we have the mq4-source code.
There can be two reasons for this. Either the EA tries to modify SL and/or TP every tick, or it's stuck in a loop because the SL and/or TP could not be modified, and itr continues to try to modify til the values have been changed.
The solution is...
For EA's that tries to modify SL/TP every tick must first confirm that the current SL/TP is not the same as the newly calculated SL/TP, and also should not be allowed to change those values unless the price has moved AT LEAST 1 pip (10 points).
For EA's that are stucked in a loop, the solution is to insert a pause command (= Sleep ( ms ); ) which is a MQL4 command to wait as many milliseconds before attempting a retry. Also the number of attempts must be restricted, and the delay in milliseconds should for each attempt increase.
Hyperactive Order Modifications - how to test?
-
TheInsider
- Trader
- Posts: 20
- Joined: Wed Aug 06, 2014 10:14 pm
Jump to
- Welcome
- Board admin messages
- Afterprime
- Funding our Forum. Tommaso needs our help.
- TDesk: A Thomas Special. The greatest trading tool ever.
- Automated trading systems
- ↳ Archived EA's
- ↳ EA's for Dummies.
- ↳ The demo/live money EA results forum
- ↳ Automated Loss Recovery
- ↳ Thingy Bob EA's
- ↳ Pipcruiser's Pipmasher forum
- ↳ Peaky forum
- ↳ Super Slope EA's
- ↳ Coordinated EA Testing Forum
- ↳ Moving Day
- ↳ Trendy Moving Day Adapted
- ↳ Trendy Monster Moving Day
- ↳ The Paycheck Project
- Manual trading systems
- ↳ Captain Jack's forum
- Utilities Indicators and Scripts
- ↳ Indicators
- ↳ Utilities
- ↳ Scripts
- Rene's stuff
- ↳ Auto-trading EA's and EA monitors
- ↳ Chart/template copying and history loading
- ↳ Clocks and calendars
- ↳ Data analysis tools
- ↳ Indicators and matrixes
- Nanningbob's Holy Grail Indicator forum
- ↳ Nanningbob 10.x
- ↳ Bob's individual forum
- ↳ Manual 10.x trading
- ↳ 10.x EA forum
- ↳ 10.x Indi forum
- ↳ 10.7 Auto Traders Forum
- BALUDA'S SUPER CSS-2.0. THE SIMPLEST TRADING SYSTEM EVER
- MQ5 Nuggets for the Dauntless
- Alternatives to Global Prime
- Coders Hangout
- ↳ Ideas for Possible Automation
- ↳ Coding Lessons - info for all
- Alternative platforms
- ↳ cTrader and cAlgo
- ↳ General discussion
- ↳ Indicators
- ↳ Robots
- ↳ JForex
- ↳ LMAX
- ↳ Tradable
- ↳ Protrader
- Know your MT4 platform
- General Forex Discussion
- ↳ Trading journals
- ↳ Finding a new platform
- ↳ Scam broker forum
- Trading Psychology & Money Management
- Macroeconomics and the Forex markets
- Newbie Discussion
- ↳ Automated trading (Rookies)
- ↳ General Discussion (Rookies)
- Lounge
- Commercial wares
- ↳ Beta testing groups
- ↳ Commercial stuff recommended by forum members
- ↳ Members' business to business
- ↳ Commercial EA's and Indi's etc
- ↳ VPS promotions
- ↳ INFINITE WEALTH