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

Contrarian trade MA - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
3213
평가:
(20)
게시됨:
2018.11.20 12:54
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The author of the idea - Scriptor

mq5 code author - barabashkakvn

The Expert Advisor uses iMA (Moving Average, MA) indicator and W1 timeframe. A timeframe can also be set separately via the MA and OHLC: timeframe parameter. The Number of bars among which search is Highest and Lowest interval searches for highs and lows. Position size (Lots) and stop loss (Stop Loss) are set as well.

The EA opens only one position at a time, therefore it is able to work both on hedging and netting accounts.

Trading signals

  • max - maximum found value of High prices
  • min - minimum found value of Low prices
  • rates[1].close - Close price on bar #1
  • rates[0].open - Open price on bar #1
  • ma[1] - Moving Average indicator value on bar #1

      if((max<rates[1].close) || (ma[1]>rates[0].open))
        {
         ***
         BUY
         ***
        }
      else if((min>rates[1].close) || (ma[1]<rates[0].open))
        {
         ***
         SELL
         ***
        }


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

RL algorithms RL algorithms

Libraries based on the article "Random decision forest in reinforcement learning"

Candle_Range_Envelop Candle_Range_Envelop

Candle Range Envelop indicator

Exp_XFisher_org_v1 Exp_XFisher_org_v1

Exp_XFisher_org_v1 Expert Advisor based on XFisher_org_v1 oscillator signals.

XFisher_org_v2_Candle_Cloud_Alert XFisher_org_v2_Candle_Cloud_Alert

XFisher_org_v2_Candle_Alert indicator with background filling for overbought/oversold areas, as well as for the channel between them