거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
4056
평가:
(29)
게시됨:
2017.11.03 11:29
업데이트됨:
2018.06.26 13:35
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Buy a security (open BUY positions) at a lower price, sell (open SELL positions) at a higher price.

In version 1.000, the Expert Advisor only trades one symbol (the "Symbol" parameter in input parameters).

Basic position opening principle:

  • If the profit of all BUY positions is less than the profit of all SELL positions, we can conclude that the current trend is downward, and open SELL.
  • If the profit of all SELL positions is less than the profit of all BUY positions, we can conclude that the current trend is upward, and open BUY.
      if(profit_buys<profit_sells) // trend down
         m_trade.Buy(m_symbol.LotsMin(),m_symbol.Name());
      else if(profit_sells<profit_buys) // trend up
      m_trade.Sell(m_symbol.LotsMin(),m_symbol.Name());
      else if(profit_buys==0.0 && profit_sells==0.0)
         m_trade.Buy(m_symbol.LotsMin(),m_symbol.Name());

Testing results on EURUSD, H4:

Multi Arbitration 1.000

During long-term trends, deposit load greatly increases. This problem has not been solved yet.

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

BarTimerCLineRounded_HTF BarTimerCLineRounded_HTF

The BarTimer indicator implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas", with the possibility to set a fixed timeframe, data from which the indicator displays in input parameters.

BarTimerCLineRounded BarTimerCLineRounded

The BarTimer indicator implemented using the classes of libraries that were described in detail in the article "Custom indicators and infographics in CCanvas", using current timeframe data.

Exp_Color_QEMA_Envelopes_Digit_System Exp_Color_QEMA_Envelopes_Digit_System

A breakout trading system based on the signals of the Color_QEMA_Envelopes_Digit_System indicator.

Exp_Color_PEMA_Envelopes_Digit_System Exp_Color_PEMA_Envelopes_Digit_System

A breakout trading system based on the signals of the Color_PEMA_Envelopes_Digit_System indicator.