거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
게시자:
Vladimir Karputov
조회수:
3582
평가:
(18)
게시됨:
2017.01.26 09:14
업데이트됨:
2018.06.27 15:25
escape.mq5 (20.32 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Author of the idea — pcbizauthor of the MQL5 code — barabashkakvn.

The Expert Advisor trades based on two iMA: iMA(5) and iMA(4) on the M5 timeframe. Individual TakeProfit and StopLoss levels are set for Buy and Sell.

Block for making decisions:

   if(!ExistPositions())
     {
      double diClose_M5_1=iClose(1,Symbol(),PERIOD_M5);
      double diMA5=iMAGet(handle_iMA_5,1);
      double diMA4=iMAGet(handle_iMA_4,1);

      if((diClose_M5_1<diMA5))
        {
         OpenBuy();
         return;
        }

      if((diClose_M5_1>diMA4))
        {
         OpenSell();
         return;
        }
     }


The conditions are checked only when a new bar appears. This way the load on CPU is greatly reduced, and testing in the "Every tick" or "Every tick based on real ticks" testing modes is performed quite fast.


Test results on EURUSD M5, from 2016.06.01 to 2016.11.23, initial deposit - 1000:

escape tester

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

Fractal_Force_Index Fractal_Force_Index

Fractal Force Index.

Exp_Fractal_WPR Exp_Fractal_WPR

The simplest EA based on the fractal WPR.

Very Blonde System Very Blonde System

The Expert Advisor opens a reverse position, additionally placing a grid of orders for reinforcement.

Elite eFibo Trader Elite eFibo Trader

Grid with a constant step. Grid lot sizes based on Fibonacci.