NexusFi: Find Your Edge


Home Menu

 





Supertrend Trailing Stop Expert Advisor for Metatrader 5


Discussion in Platforms and Indicators

Updated
    1. trending_up 3,386 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?
Expiration Day: Wall Street Rallies on Peace Hopes While …
Prediction Markets & Event Contracts
CFTC Chair Selig Puts Timeline on US Crypto Perpetual Fu …
Cryptocurrency
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
MegaETH Proves the Crowd Right: Prediction Markets Calle …
Prediction Markets & Event Contracts
CFTC Workforce Shrinks 24% to 15-Year Low While Predicti …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
Trying to learn Volume and price action correlation
5 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