banner ad

Trailing Stop Using External Indicator (EXAMPLE)

Here’s another trailing stop EA I wrote that uses the iCustom function with an external indicator. In this case it’s the BAT ATR indicator but if you study the code and use the meta editor help file a little you should be able to edit it to use any indicator you want.

Obviously the indicator will have to trail price so something like chandelier stops or bb stops would be ideal.

Hope you find this EA of use and are able to use it as both a helpful trading tool and a learning aid for your own EA programming.

Good luck with your trading and don’t forget if you’d like me to code your strategy for you just drop me a line at and I’ll give you a quote.


Category: MQL Programming

About the Author (Author Profile)

Steve Fleming has been a professional programmer and Internet professional for over 15 years. is a way to empower the non-programmers and offers a FREE 5 day E-course showing how to build an EA (expert advisor). Steve also offers his mql programming services at very competitive rates and has programmed many, many strategies both for himself and his ever growing list of satisfied clients.

Comments (0)

Trackback URL | Comments RSS Feed

There are no comments yet. Why not be the first to speak your mind.

Leave a Reply