TradingView
scolilay
Jul 17, 2019 4:24 PM

New extremum trend 

Bitcoin / DollarBitfinex

Description

Script for filtering out periods when market is not trending.

It defines downtrend as following:
Lowest price of last 2 days is equal or lower then lowest price of last 100 days.

Values 2 and 100 are customizable.

Uptrend analogically with highs.
More