Intraday EA

0
(0)
Nombre:
Intraday EA
Autor: smistretta (2011.07.15 15:15)
descargado: 14829
Descargar:
Intraday EA 1
Intradayv2.mq4 (9.8 Kb) Vista

I have written the attached EA. I do not have a coding background and have been learning MQL4 for the last 2 semanas.

I have managed to build the backbone of this EA using an MQL4 code builder which i then manually tweaked. I have run this on a back test but have not been having much success in getting the logic to enter and exit trades when I want them to execute.

I basically have derived from a bollinger band system the following, on a standard 20,2,2 indicator based on a 15min chart:

Where:

  • A single buy is when the price goes abajo the band (20,2.4,2.4) and then the price retraces back to the (20,1,1) and the trade should take profit where also the SL can be manually set at say 100 pepitas, but i'd like to test this with maybe 50 pepitas.
  • A single sell is when the price goes arriba the band (20,2.4,2.4) and then the price retraces back to the (20,1,1) and the trade should take profit where also the SL can be manually set at say 100 pepitas, but i'd like to test this with maybe 50 pepitas.

The question:

If you run the attached program you will find that sometimes the entry point in 1 bar in delay or more and sometimes the code misses the entry entirely.

Is there anyone out there that has more experience than me and can help me out with this very frustrating issue. I would really appreciate any feedback.

Many thanks

Steve

¿De cuánta utilidad te ha parecido este contenido?

¡Haz clic en una estrella para puntuarlo!

Promedio de puntuación 0 / 5. Recuento de votos: 0

Hasta ahora, ¡no hay votos!. Sé el primero en puntuar este contenido.

¡Siento que este contenido no te haya sido útil!

¡Déjame mejorar este contenido!

Diez centavos, ¿cómo puedo mejorar este contenido?



Autor: Equipo Wiki de Forex
Somos un equipo de comerciantes de Forex altamente experimentados [2000-2023] que se dedican a vivir la vida en nuestros propios términos. Nuestro principal objetivo es lograr la independencia financiera y la libertad., y hemos buscado la autoeducación y adquirido una amplia experiencia en el mercado Forex como nuestro medio para lograr un estilo de vida autosostenible..