NexusFi: Find Your Edge


Home Menu

 





Supertrend Trailing Stop Expert Advisor for Metatrader 5


Discussion in Platforms and Indicators

Updated
    1. trending_up 3,473 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?
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #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