Create your own neural network predictor easily (example: MA and RSI Predictors)

Create your own neural network predictor easily (example: MA and RSI Predictors)

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.

Register to download