OPEN-SOURCE SCRIPT

Pivot TrendLine with type

20 419
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.