OPEN-SOURCE SCRIPT

Trendly

Telah dikemas kini


╭━━━━╮╱╱╱╱╱╱╱╱╭┳╮
┃╭╮╭╮┃╱╱╱╱╱╱╱╱┃┃┃
╰╯┃┃┣┻┳━━┳━╮╭━╯┃┃╭╮╱╭╮
╱╱┃┃┃╭┫┃━┫╭╮┫╭╮┃┃┃┃╱┃┃
╱╱┃┃┃┃┃┃━┫┃┃┃╰╯┃╰┫╰━╯┃
╱╱╰╯╰╯╰━━┻╯╰┻━━┻━┻━╮╭╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯



About the script:

This script is an easy-to-use trend indicator, which is based on another popular indicator called "Supertrend". The basic idea is very simple, i.e. to compute Average True Range(ATR) and use that as the basis for trend detection. The key difference lies in a custom trend detection method, that computes trends across different timeframes and projects them in a table view. The script also tries to improve the behaviour of the existing indicator by highlighting flat regions on the chart, indicating sideways market or potential trend reversals.


How to use it:

You can use it just like any other indicator, add it to your chart and start analysing market trends. Results can be interpreted as follows.

Indicator output is currently made up of two main components:
>> Trend Table:
  • Appears at the bottom right of your screen
  • Contains trend indicator for 9 different timeframes
  • Timeframes can be adjusted using indicator settings panel
  • Green Up Arrow --> Up Trend
  • Red Down Arrow --> Down Trend


>> Enhanced Supertrend:
  • Shows up as a line plot on the chart
  • Green line indicates up trend
  • Red line indicates down trend
  • White regions indicates slow moving markets or a potential trend reversal
  • Indicator can be used on any timeframe, it provides a view of current and historical market trend
  • Can be used as an indicator for entering/exiting trades
  • Can be used to build custom trading strategies


Nota Keluaran
Minor Release

Summary of the updates:
  • Providing a new sensitivity controller that allows for a more granular control over the trend line
  • Switched from snakeCasing to camel_casing
  • Better formatting, minor adjustments to input texts, fixed some typos & a bit of code cleanup
Nota Keluaran
# Minor release

Updates:
- Added option to select trend-table position
Nota Keluaran
# Minor Release

Updates:
- Added option to control trend-table text-size
Average True Range (ATR)flatbaseindicatorsmultitimeframemultitimeframeanalysispinescriptreversalsupertrendTrend Analysistrendfollowingtrendtrading

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian