gazonkos - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources
The author of the idea — Pavel Smirnov , the author of the MQL5 code — Balabashkakon .
The automated trading system Gazonokosilka (meaning "lawnmower" in Russian) usually only delivers small profits. Stop Loss and Take Profit parameters are set to strict values so that positions can be closed in the event of small price fluctuations. But the EA should not be scalping, and the optimal situation is one or two trades per day.
System trading rules:
1. Enter on a pullback in price action
2. Exit with stop loss or profit
Therefore, we first need to determine the price action or momentum (there are several options available). Then wait for rollback (various options) and enter the market.
This EA is designed to test EUR/USD H1 and allows experimentation with the underlying trading system. The EA analyzes price movements within the bar, so tests should be performed in "Every tick based on real quotes" mode. This is very important.
The code is well commented and structured so even a beginner can understand it.
Input parameters of Expert Advisor (external variables):
Magic — the magic number that allows the EA to use its own positions.
Take Profit — the profit level in points. It is set for all positions during position opening.
OTC — callback value in points. When the price rolls back this amount, the EA switches to open position.
Stop Loss — stop loss level in points. Similar to Take Profit, it is set during position opening.
t1 — number of bars used to determine price movement.
t2 — number of bars used to determine price movement.
Delta — The value used to determine momentum.
A lot — position size.
Active Trades — the maximum number of open trades at one time.
Attachment download
📎gazonkos.mq5 (23.02 KB)
Source: MQL5 #17231
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •