Assista a como baixar robôs de negociação gratuitos
Encontre-nos em Twitter!
Participe de nossa página de fãs
Script interessante?
Coloque um link para ele, e permita que outras pessoas também o avaliem
Você gostou do script?
Avalie seu funcionamento no terminal MetaTrader 5
Experts

Basic Trailing Stop - expert para MetaTrader 4

Visualizações:
36623
Avaliação:
(32)
Publicado:
2015.09.28 10:07
Atualizado:
2016.11.22 07:32
Precisa de um robô ou indicador baseado nesse código? Solicite-o no Freelance Ir para Freelance

Real author:

Inovance - https://www.inovancetech.com/

Add a trailing stop to your entry signals. Simply put in your entry conditions so that the LongRule() function returns "1" when long conditions are met and the ShortRule() function returns "-1" when the short conditions are met. You can set the trailing stop distance, in pips, as an external input.

Trailing stop will adjust at each tick.

Basic Trailing Stop Inputs

Recommendations:

  • Will work on 4 and 5 digit brokers.
  • Always test on demo account first.
  • Does not include exit logic besides Trailing Stop.
  • Example strategy shown in template.
Authenticate into an MT4 account from MQL4 (tested in build 880) Authenticate into an MT4 account from MQL4 (tested in build 880)

MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.

Custom Bollinger Bands Custom Bollinger Bands

Bollinger Bands with customizable moving average method and applied price.

Close symbol with profit or loss Close symbol with profit or loss

Easy EA for closing positions of the symbol with profit or loss. You can use it for hidden SL too.

Robust EA Template Robust EA Template

A robust EA template to use with your entry conditions.