An Expert Advisor for placing a breakeven level automatically. Works with any number of orders irrespective of whether these deals are opened manually of by some Expert Advisor. It has two levels of breakeven placing which is perfect for scalping and intraday trading. The first stop loss modification to the breakeven level happens when the price profitably passes a distance set in pips in StartBreakeven_1 and is modified at the StartBreakeven_1 distance in points from the order opening price. The second modification happens when the price goes further at the StartBreakeven_2 distance and is modified at the level of StepBreakeven_2 in points from the order opening price. The EA has a function of recalculation of parameters in 5 digit quotes. It works on any financial instrument and time frame.
Enable the visual mode to test the EA in the Strategy Tester. The chart will display two buttons (Buy and Sell) for opening orders. ShowButton parameter is responsible for displaying these buttons.
- StartBreakeven_1,2 - number of points profitably passed by the price to move positions to breakeven;
- StepBreakeven_1,2 - distance in points to output positions to breakeven;
- ShowButton - show/hide buttons;
- BayColor - Buy button color;
- SellColor - Sell button color;
- Lots - fixed trading lot;
- TakeProfit - take profit in points;
- StopLoss - stop loss in points;
- ShowInfo - show/hide details;
- TextColor - displayed data color;