Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 36840
- Rating:
- Published:
- 2015.09.28 10:07
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to 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.
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)](https://c.mql5.com/i/code/library.png)
MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.
![Custom Bollinger Bands](https://c.mql5.com/i/code/indicator.png)
Bollinger Bands with customizable moving average method and applied price.
![Close symbol with profit or loss](https://c.mql5.com/i/code/expert.png)
Easy EA for closing positions of the symbol with profit or loss. You can use it for hidden SL too.
![Robust EA Template](https://c.mql5.com/i/code/expert.png)
A robust EA template to use with your entry conditions.