The Expert Advisor does not use any indicators. When the speed of the price begins to increase sharply, the EA opens an order in the direction of its movement. The velocity of the current price is measured based on breaks of virtual levels, which are set at the PriceStep distance from the price, and is modified after the specified TimeStep time in seconds. The Expert Advisor does not use high-risk trading strategies, like Martingale. Works with 4- and 5-digit quotes. The recommended minimum deposit is 100 USD, the currency pairs are EURUSD and EURJPY.
The EA includes a gap protection function, it closes all open positions before the end of trading on Friday and will not open any new positions until Monday - the TimeOnFriday parameter. To test the EA, enable the visual mode in the the strategy tester and set all ticks. Timeframe does not matter.
- MaxRisk - maximum risk per trade;
- Lots - fixed trading lot, if MaxRisk = 0;
- TakeProfit - take profit in points;
- StopLoss - stop loss in points;
- ProfitClose - profit % of the deposit to close market orders;
- MaxDrawdown - drawdown % of the deposit to close market orders;
- TrailingStart - start of the trailing stop;
- TrailingStep - step of the trailing stop;
- TimeModifyChannel - pending order modification timer in seconds;
- SteepModifyChannel - indent from Ask/Bid for the price channel;
- PriceSteepOrder1,2,3 - indent from Ask/Bid for pending orders;
- Magic1,2,3 - magic number;
- Com - a comment to trades;
- ShowInfo - show/hide details;
- TextColor - text color;
Strategy Tester Results
Expert Advisor testing for three years (01.01.2010 - 01.01.2013): trading EURJPY it made almost 800 000 USD from the initial deposit of 100 USD.
Also, added the functions for closing all market orders by the total profit of the deposit or the drawdown.