OPEN-SOURCE SCRIPT

Pivot TrendLine with type

22 265
Intro

The simplest version of the indicator automatically draws trendLine on your charts, with newest Type syntax.

Type is some thing like type or interface in typescript or Structure in Clang.

with type key word you can write more clear code in pinescript.

Usage

You can change the looking back length settings to get more proper lines you want.

There is also a switch to turn off the historical trendlines .

You can use this to build more advanced indicators or strategies.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。