Universal trailing stop

0
(0)
Nombre:
Universal trailing stop [ tu ]
Autor: cmillion (2010.03.09 10:33)
Clasificación: 10
descargado: 11060
Descargar:
Universal trailing stop 1
TrailingStopFrCn.mq4 (8.4 Kb) Vista

Descripción:

Can run as a single Expert Advisor or a script, together with any Expert Advisor.

Depending on the variable Parada final, trailing may be performed using the fractals, the extremal values of bar in the past or using the specified points.

  • Si Parada final es mayor que 0, then trailing will be carried out with the specified points, which are defined in the variable TrailingStop. If TrailingStop is less than the minimal limit stops, trailing stops will be minimal.
  • Si Parada final = 0 y Tip.Fr.or.Candl = 0, then trailing will performed using the fractals. The first corresponding fractal is used for the trailing.
  • Si Parada final = 0 y Tip.Fr.or.Candl = 1, then trailing will performed using the minimal/ maximal price values of the previous candle.
  • Si magia = 0, then the trailing will performde on all orders with of this character, without the magic number. If the variable specified Magic magic number, respectivamente, will only trailing orders with the number of Magic.
  • Si OnlyProfit = cierto, then trailed profit orders only.
  • Si OnlyWithoutLoss = cierto, then orders trailed to the price level without loss only.

Visualización:

The screen displays information about the ongoing work of the script:

- Script settings;
- Number of orders, that processed;
- Current time
- Minimum levels of Stop (-)
- Current possible stop levels (price tags)

Tips:

The script terminates when all orders are closed. If the program is running as an ExpertAdvisor, it can be terminated manually.

9 comentarios Para publicar un nuevo comentario, por favor acceso o registro

Perfecto! Spasibo!
15.08.2013 21:38 luchik

cmillion:
razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

jiva34: very nice. works like a charm. muchas gracias. just what I needed.
cmillion:
razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

15.02.2013 02:20 jiva34

cmillion:
razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

15.02.2013 02:16 jiva34

roy7:
Could you update to detect and support 5-digit brokers? Gracias!

Adviser and the script works on any broker, it is not important number of characters.
Newer versions.

25.09.2012 11:16 cmillion

Could you update to detect and support 5-digit brokers? Gracias!

06.06.2011 09:54 roy7

How would one change the position of the trailing stop to the bar's extreme + desparramar +1? Great work by the way and I have been looking for this for a very long time.
04.02.2011 15:57 eclayf

How would you use this attached to another EA?

Can you import it or something as a script?...

03.11.2010 21:27 aku11a

razoff wrote:
is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

Simply start trail in miscellaneous window with one currency. In each window - its Magic

09.03.2010 13:28 cmillion

is there a way to trail several Magic (separated by comma or space) and dont trail the others if we have multiple EAs with their own magic ?

Thanks for sharing.

¿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..