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
Basic Trailing Stop - expert for MetaTrader 4
- Views:
- 36640
- 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)
MQL4 library that allows authenticating into a MetaTrader 4 account programmatically in release 880+.
Custom Bollinger BandsBollinger Bands with customizable moving average method and applied price.
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 TemplateA robust EA template to use with your entry conditions.