당사 팬 페이지에 가입하십시오
gazonkos - MetaTrader 5용 expert
- 게시자:
- Vladimir Karputov
- 조회수:
- 3794
- 평가:
- 게시됨:
- 2017.03.02 09:50
- 업데이트됨:
- 2018.02.15 17:17
- 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Author of the idea — Pavel Smirnov, author of the MQL5 code — barabashkakvn.
The automated trading system Gazonokosilka (in Russian means "Lawnmower") can provide often little profits. Stop Loss and Take Profit parameters are set to tight values so that trades could be closed in case of small price movements. But the EA should not be scalping, the optimum scenario is one-two trades per day.
Trading rules of the system:
1. Enter at the roll back of the price movement
2. Exit at Stop Loss or Take Profit
Therefore we first need to determine the price action or momentum (a variety of options is available). Then wait for the rollback (various options) and enter the market.
The EA is designed to test on EUR/USD H1 and allows experimenting with the underlying trading system. The EA analyzes price movement inside the bar, therefore testing should be performed in the "Every tick based on real ticks" mode. It is very important.
The code is well commented and structured, so even a beginner can understand it.
Expert Advisor's input parameters (external variables):
magic — the magic number allowing the EA to work with its own positions.
TakeProfit — take profit level in points. It is set for all positions during opening.
Otkat — pullback value in points. When the price rolls back by this amount, the EA switches to the trade opening state.
StopLoss — stop loss level in points. Set during position opening similar to TakeProfit.
t1 — the number of the bar used to determine price movement.
t2 — the number of the bar used to determine price movement.
delta — the value used to determine the momentum.
lot — Position size.
active_trades — the maximum number of open trades at a time.
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/17231
The Expert Advisor opens or closes positions at the intersection of lines.
Forex ProfitThe Expert Advisor uses Parabolic SAR and three EMAs (with the periods of 10, 25 and 50).
Uses two iStochastic (Stochastic Oscillator) indicators and one iRSI (RSI, Relative Strength Index). Calculates the lot size based on the analysis of closed trades.
2MA_4LevelThe Expert Advisor uses the values of two iMA (Moving Average, MA) indicators.