OPEN-SOURCE SCRIPT

Pivot TrendLine with type

22 272
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.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.