Category Trend  Published on 17/12/2023

SuperTrend

An update for this algorithm is currently pending moderation. Please revisit this page shortly to access the algorithm's latest version.
Description

Description

SuperTrend is a trend-following indicator based on Average True Range. The calculation of its single line combines trend detection and volatility. It can be used to detect changes in trend direction and to position stops.

This version allows you to:

  1. Use a custom timeframe 
  2. Change bar colour based on Trend
  3. Display lines instead of dots to output the SuperTrend.

Code is also much cleaner and easier to understand :)

Screenshot image

 

Parameters:

 

Will update the code to include shading between SuperTrend and price when cTrader provides better implementation for it.




Botnet101's avatar
Botnet101

Joined on 08.08.2021

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: SuperTrend.algo
  • Rating: 5
  • Installs: 1070
Comments
Log in to add a comment.
No comments found.