거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
5105
평가:
(33)
게시됨:
2018.11.20 12:54
\MQL5\Include\
RL gmdh.mqh (39.66 KB) 조회
MT4orders.mqh (76.24 KB) 조회
\MQL5\Experts\
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The idea and the simplest algorithm are provided in the article "Random decision forest in reinforcement learning"

The library has advanced functionality allowing you to create an unlimited number of "Agents".

In addition, variations of the "Arguments group accounting method" are used

Using the library:

#include <RL gmdh.mqh>
CRLAgents *ag1=new CRLAgents("RlExp1iter",1,100,50,regularize,learn); //created 1 RL agent accepting 100 entries (predictor values) and containing 50 trees

An example of filling input values ​​with normalized close prices:

void calcSignal()
  {
   sig1=0;
   double arr[];
   CopyClose(NULL,0,1,10000,arr);
   ArraySetAsSeries(arr,true);
   normalizeArrays(arr);
   for(int i=0;i<ArraySize(ag1.agent);i++)
     {   
      ArrayCopy(ag1.agent[i].inpVector,arr,0,0,ArraySize(ag1.agent[i].inpVector));
     }
   sig1=ag1.getTradeSignal();
  }

Training takes place in the tester in one pass with the parameter learn=true. After training, we need to change it to false.

Demonstrating the trained "RL gmdh trader" EA operation on training and test samples.


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

Candle_Range_Envelop Candle_Range_Envelop

Candle Range Envelop indicator

Mean_Indicator Mean_Indicator

Mean Indicator indicator

Contrarian trade MA Contrarian trade MA

Working by iMA (Moving Average, MA) and OHLC of W1 timeframe

Exp_XFisher_org_v1 Exp_XFisher_org_v1

Exp_XFisher_org_v1 Expert Advisor based on XFisher_org_v1 oscillator signals.