Expert Advisors: Bollinger Band width calculation with Neural Network using

 

Bollinger Band width calculation with Neural Network using:

This Expert Advisor works with Neural Network method

Author: surubabs

 

Hi, I would like to know on what time period are you using the EA?

Thank you. 

 
PCWalker:

Hi, I would like to know on what time period are you using the EA?

Thank you. 

Dear PCWalker,

In the attached Zip you can find the HTML test result, open it ,looking at the top of the page in EA parameters you can find out whats the time frame used for test.

 

Thank you

Suresh 

India 

 
Why do you buy when out is lower than 0 and sell when out is greater ?
 
I got great numbers using the short time span, but when using two years.... the numbers were awful....  Perhaps there is a reason that the numbers get worse with a longer test period using these systems.
 
I like. For MT4 there?
 
Unable to test, The Buy order request could not be completed -error:4756
 

Good morning .....okey, this Advisor works better than the original(https://www.mql5.com/en/articles/497) but I still had to make a slight change in the code due to the "unsupported request fill" error.

I had to leave it as shown in this image on line 317 (and 278 as well).

You also have to go back to OPTIMIZE because it shows lossy.


Neural Networks: From Theory to Practice
Neural Networks: From Theory to Practice
  • 2013.01.18
  • Dmitriy Parfenovich
  • www.mql5.com
Nowadays, every trader must have heard of neural networks and knows how cool it is to use them. The majority believes that those who can deal with neural networks are some kind of superhuman. In this article, I will try to explain to you the neural network architecture, describe its applications and show examples of practical use.
 
Junqui:

Good morning .....okey, this Advisor works better than the original(https://www.mql5.com/en/articles/497) but I still had to make a slight change in the code due to the "unsupported request fill" error.

I had to leave it as shown in this image on line 317 (and 278 as well).

You also have to go back to OPTIMIZE because it shows lossy.



Hello,

this EA is not the second part of any other EA and therefore there is no "original". The one you indicate is based on MA and is by a certain Dimitriy Parfenovich, and as you can see, this one is based on Bollinger Bands and is by Surubabs Suresh Kakkatil.

In any case the creator of the one you indicate collaborated with the latter, but nothing more, there are no second parts or originals, they are creations from scratch and totally different and independent.

Regarding the possible "bug" ... that depends on the broker where you test it, as each broker has a form and / or limit on the execution of orders, etc.. That is, we are not talking about a problem, that is why the EA is open and gives the possibility to choose the execution mode.

Greetings!

Edit: I attach the version without warnings and with #property strict. Tried and tested. Regarding the optimisation, that's up to each one, as the intention is not to create a profitable EA, just to demonstrate a theory, among others.


Files:
 

My friend,

I analysed your strategy and I liked what I saw.

The only observation I have, because I didn't understand it, was that you wanted to trade in both directions using an indicator that only measures volatility, I missed or didn't see an indicator that gave the direction of the market.

 

I found what seems a little mistake in your code.

The variable "x_min" and "x_max" should to refers to min and max of Bollinger Bands Width and not to Upper/Lower Bands or Middle.

Yet in the expression, is missing a single parenteses after (x_min + x_minn): inputs[i*2]=(((iBands_Upperbuf[i] - iBands_Lowerbuf[i]) / iBands_Basebuf[i]) - (x_min+x_minn) ) * (d2-d1)) / ((x_maxx+x_max) - (x_min+x_minn)) + d1;