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
Hello all,
I have finally created my first working EA in mql5. Now i want to code for trailing stop in it.
I know how to code for it in mql4 but mql5 is a completely different game according to the article https://www.mql5.com/en/articles/134, "How to create your own trailing stop". From what i get, it tells about creating a new trailing stop base class from scratch and then using it.
It would be really helpful if someone can share an example code which utilizes the class CTrailingFixedPips which we just have to include instead of creating a whole new class for trailing.
Can anyone guide me here?
Thanks in advance