거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

MA MACD Position averaging - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
4496
평가:
(15)
게시됨:
2018.12.28 12:56
업데이트됨:
2019.01.17 11:29
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Idea by: Myth63

Code mq5 by: barabashkakvn

The EA only checks for a trading signal or an addition to the position when a new bar appears.

The EA is based on indicators iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). If a position has a loss exceeding Step lossing pips, open yet another position (in the loss-making position direction) with an increased lot (Lot coefficient is considered).

The EA holds only one position or multiple positions of the same direction. The EA uses two parameters: Indent price from MA and Ratio of MAIN to SIGNAL (both are displayed in the picture below)

MA MACD Position averaging

Sample BUY signal: MACD indicator is below "0.0", the main line (MAIN) exceeds the signal line (SIGNAL) and the current price is higher than Moving Average. Two filters are added to this condition:

  • Ratio of MAIN to SIGNAL
  • Indent price from MA

You can select a bar to be checked - on a zero (current) one or on bar #1. This is defined by the Bar Current parameter.


EA operation

The following data is collected on a new bar: Number of BUY and SELL positions and the most loss-making (according to the number of pips) BUY and SELL positions. If it turns out that there are both BUY and SELL positions at the same time, this is considered to be an error and ALL positions are closed. If the most loss-making position is found and it is unprofitable by more thanStep lossingpips, then the parameters of this position (the ticket and the number of lots) are remembered.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/22834

Nerve Nerve

The script calculates the average and weighted volatility of a symbol.

Stochastic_Histogram_HTF Stochastic_Histogram_HTF

Indicator Stochastic_Histogram with the timeframe selection option available in its input parameters

XFisher_org_v1_Candle XFisher_org_v1_Candle

Indciator XFisher_org_v1 represented as candlesticks

XFisher_org_v1_HTF XFisher_org_v1_HTF

The XFisher_org_v1 indicator with the timeframe selection option available in the input parameters