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

Create your own neural network predictor easily (example: MA and RSI Predictors) - MetaTrader 4용 지표

조회수:
29594
평가:
(7)
게시됨:
2009.11.04 10:38
업데이트됨:
2016.11.22 07:32
BPNN.dll (87.5 KB)
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동


Author:

gpwr, posted on https://www.mql5.com/en/code/9002/

I simply renamed a few vars in order to make the code easier to read, and created a new proxy function.

All the credits must go to gpwr for his much excellent source.


The BNN predictor posted by gpwr is a great indicator, but many traders were wondering how to use the source code in order to create predictors based on their own indicator.

this question being left unanswered on all the neural network related sources, I've decided to answer it.

With this modified version of the BNN Predictor, you will be able to create your own predictor, based on your own indicator.

At the end of the code, you will find a function:

double getValue(int i) {
return(iMA(NULL,0,15,0,MODE_SMMA,PRICE_OPEN,i));
}

As presented, the indicator is a Moving Average predictor. Simply replace the Moving Average indicator by another indicator. You can even use iCustom() in order to get predictions on your own indicators.


For example, if you want a RSI predictor:

double getValue(int i) {
return(iRSI(NULL,0,14,PRICE_OPEN,i));
}


Installation:

BPNN.DLL must be copied to your experts/libraries/ folder.

You must configure MT4 to allow DLL imports (Tools > options > Expert Advisors > Check "Allow DLL imports").



MA Predictor and RSI predictor on EURUSD M30


Recommendations:

  • If you have questions about Neural network, please ask the original author, as I just modified the code in order to make it easier to create new indicators.
  • If you have questions about how to adapt an indicator, then I can answer, as long as you ask in either English, French, Spanish or Portuguese. please, no Russian, Chinese or Italian as I don't speak those languages.
  • The 2 examples MA and RSI are just examples. that's why they do not offer external variables to change their period or other options.
Two Pole Smoothed Ehlers Oscillator Two Pole Smoothed Ehlers Oscillator

This oscillator is based on Ehlers' Two Pole Super Smoother, converted as an oscillator, and smoothed using Ehlers' Instantaneous trendline.

The signal lines with alert after crossing The signal lines with alert after crossing

When the price is approaching to the Signal Lines, the indicator sends Alert.

Scalpel EA Scalpel EA

A EURGBP/GBPUSD non-scalper robot

AIS5 Trade Machine AIS5 Trade Machine

Alfa Release English