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

Three neural networks - MetaTrader 5용 expert

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

Idea by: Apelsin

mq5 code by: barabashkakvn

The EA uses a very simple neural network unit

   double n1=((ma_h1[1]-ma_h1[2])/ma_h1[1])*p1+((ma_h1[2]-ma_h1[3])/ma_h1[3])*p2+((ma_h1[3]-ma_h1[4])/ma_h1[4])*p3;
   n1=(MathRound(n1*10000));

   double n2=((ma_h4[1]-ma_h4[2])/ma_h4[2])*q1+((ma_h4[2]-ma_h4[3])/ma_h4[3])*q2+((ma_h4[3]-ma_h4[4])/ma_h4[4])*q3;
   n2=(MathRound(n2*10000));

   double n3=((ma_d1[1]-ma_d1[2])/ma_d1[2])*k1+((ma_d1[2]-ma_d1[3])/ma_d1[3])*k2+((ma_d1[3]-ma_d1[4])/ma_d1[4])*k3;
   n3=(MathRound(n3*10000));

   if((n1>0 && n2>0 && n3>0))
      m_need_open_buy=true;
   if((n1>0 && n2<0 && n3<0))
      m_need_open_sell=true;

based on the signals from three indicators iMA (Moving Average, MA) on H1, H4, and D1.

Recommendations on Optimization

Optimization is performed in two stages (1 and 2 in the picture below). 

After stages one and two

Three neural networks

select among the top ten ones the version that provides equally good results on both backtest and forward.



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

Daily range Daily range

Searching for a daily range. We use OBJ_HLINE, OBJ_VLINE.

SetColorFiboLevels_Grand_xN SetColorFiboLevels_Grand_xN

The script builds the Fibonacci Levels graphical object with the option of selecting the number of its segments

SupremAutoFibo SupremAutoFibo

The indicator builds graphical object Fibonacci Levels with many settings at High and Low prices over the period specified in the indicator input parameters

Exp_SpearmanRankCorrelation_Histogram_TimeWeekPeriod Exp_SpearmanRankCorrelation_Histogram_TimeWeekPeriod

Expert Advisor Exp_SpearmanRankCorrelation_Histogram with the added option of trading within the weekly range only, the borders of which are specified in the EA's input settings