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

MySystem - MetaTrader 5용 expert

게시자:
Vladimir Karputov
조회수:
4148
평가:
(12)
게시됨:
2018.10.25 15:46
MySystem.mq5 (33.98 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The author of the ideaCollector

MQL5 code author: barabashkakvn

The EA only operates when a new bar appears. A trading signal from the iBullsPower (Bulls Power) and iBearsPower (Bears Power) indicators is considered only if the market has no positions opened by the EA (the search is performed by the current symbol and the current unique EA identifier - magic number).

Both indicators feature only one setting - Bulls and Bears: averaging period. Trading signal forming algorithm: data from two bars - Bar current and Bar current+1 - are taken in both indicators and the values are divided by 2

   double prev = ((bears[1]+bulls[1])/2.0);
   double curr = ((bears[0]+bulls[0])/2.0);

If the average value on the previous bar is less than on the current one, open BUY:

      if(prev<curr && curr<0)
        {
         //ClosePositions(POSITION_TYPE_SELL);
         double sl=(InpStopLoss==0)?0.0:m_symbol.Ask()-ExtStopLoss;
         if(sl>=m_symbol.Bid()) // incident: the position isn't opened yet, and has to be already closed
           {
            PrevBars=0;
            return;
           }
         double tp=(InpTakeProfit==0)?0.0:m_symbol.Ask()+ExtTakeProfit;
         OpenBuy(sl,tp);
         return;
        }

If the average value on the previous bar exceeds the current one, open SELL:

      if(prev>curr && curr>0)
        {
         //ClosePositions(POSITION_TYPE_BUY);
         double sl=(InpStopLoss==0)?0.0:m_symbol.Bid()+ExtStopLoss;
         if(sl<=m_symbol.Ask()) // incident: the position isn't opened yet, and has to be already closed
           {
            PrevBars=0;
            return;
           }
         double tp=(InpTakeProfit==0)?0.0:m_symbol.Bid()-ExtTakeProfit;
         OpenSell(sl,tp);
         return;
        }

EURUSD, M15:

MySystem

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

DeMarker_Histogram_Vol_HTF DeMarker_Histogram_Vol_HTF

DeMarker_Histogram_Vol indicator with the timeframe selection option available in input parameters

Hans_Indicator_x4 Hans_Indicator_x4

The indicator of expanding time zone corridors with two corridors

XHullTrend_Digit XHullTrend_Digit

HullTrend indicator with additional smoothing of the Hull moving average and rounding the values by the number of digits fixed in the input variables

Hans_Indicator Hans_Indicator

The indicator of expanding time zone corridors