OPEN-SOURCE SCRIPT

Pivot TrendLine with type

20 274
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。