nickbarcomb

Probabilistic Trend Indicator

nickbarcomb Updated   
An indicator which attempts to assert the probability of the trend based on a given Sample Size and Look-Back Confirmation Size.

The green dots indicate the probability given to price.

The orange dots indicate the probability given to volume.

The aqua line is a weighted average between them.

The Sample Size is the number of candles to include in the entire calculation.
- This number should be higher to gather more data.

The Look-Back Confirmation Size is the number of candles to include, to confirm the current candles relative strength.
- This number should be lower to give a stronger closer relative reading.

Values above 50 indicate a strengthening position toward prices increasing.
- The strength of this value is weakly exponential and may max out around 80

Values below 50 indicate a strengthening position toward prices decreasing.
- The strength of this value is weakly exponential and may max out around 20

~ Enjoy!

Release Notes:
~ Updates default Sample Size to be slightly smaller
+ Adds quality-of-life feature to smooth the Average (this is an EMA applied to the average line)
Release Notes:
NOTE: This indicator denotes the probability that the next candle will be greater than the previous (it does not denote the magnitude of how much greater it will be, just the likelihood).

+ Adds the ability to change the source timeframe
Release Notes:
+ Adds the ability to gather samples from an alternative timeframe.
+ Adds the ability to toggle the alternate timeframe setting.
+ Adds the ability to toggle the weighting of the average.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?