Hi guys, can someone help me with the trailing stop? I am not much of a coder. Managed to learn this from youtube. All works okay except for the trailing stop. If anyone could lend a hand it would be very helpful. I am looking for a trailing stop which trails upon +30pips or +300 points from the buy or sell line. Which means the moment it goes to +31 pips or +310 points. my Stop Loss would go above/below my buy/sell line by 1 pip or 10 points. And consecutively move up step by step. pip by pip. Therefore at +35 pips and if price moves towards my buy/sell line. it should close at +5 pips. I hope my explanation is detailed enough. Hope I can get some help in this.
Files:
MovingAverage1.0.mq4
4 kb
- Mql4 Trailing stop problem
- Break even / trailing stop
- Help for build a trading system
avengers_assemble: Hi guys, can someone help me with the trailing stop? I am not much of a coder. Managed to learn this from youtube. All works okay except for the trailing stop. If anyone could lend a hand it would be very helpful. I am looking for a trailing stop which trails upon +30pips or +300 points from the buy or sell line. Which means the moment it goes to +31 pips or +310 points. my Stop Loss would go above/below my buy/sell line by 1 pip or 10 points. And consecutively move up step by step. pip by pip. Therefore at +35 pips and if price moves towards my buy/sell line. it should close at +5 pips. I hope my explanation is detailed enough. Hope I can get some help in this.
There are many trailing-stop examples in the CodeBase. Just to a search and study the code.


You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register