NexusFi: Find Your Edge


Home Menu

 





Supertrend Trailing Stop Expert Advisor for Metatrader 5


Discussion in Platforms and Indicators

Updated
    1. trending_up 3,643 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Rotu
Berlin / Germany
 
Posts: 7 since Aug 2015
Thanks Given: 0
Thanks Received: 0

Hello,

I am looking for an EA for Metatrader 5 that sets a trailing stop based on the indicator "Supertrend" (https://www.mql5.com/en/code/576). The stop should be a little higher (when selling) or lower (when buying) than the supertrend line and move with that supertrend line of course (because it should be a trailing stop). The space between the supertrend line and the actual trailing stop should be adjustable in pips. The parameters of the supertrend indicator should also be adjustable within the EA. If the supertrend line switches its color during an open position this position should be closed or there should be a notification that there has been a color switch and the stop should remain where it was before. These two options should be selectable.

Could someone program such an EA?

Thanks in advance,

All the best.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
What we know about Binances $6.3bn hack - BBC News
Cryptocurrency
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
 
  #3 (permalink)
Rotu
Berlin / Germany
 
Posts: 7 since Aug 2015
Thanks Given: 0
Thanks Received: 0


I have found an article describing how to program Trailing Stop EAs based on indicators here: https://www.mql5.com/en/articles/134

A lot of code plus a downloadable sample is already included in the article. It only needs to be based on the Supertrend indicator instead of the SAR or NRTR indicator which is used in the article.

Could someone change the sample that is provided by the article so it works based on Supertrend?

Thanks.


Reply With Quote




Last Updated on September 18, 2015


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts