joebaus

Probability Cones Pro - Beta

joebaus Updated   
An experimental probability cone indicator.
Release Notes:
Increased max_lines_count from 200 to 500.
Release Notes:
Added a lot more stuff.
  • Add stationary cones. Lock the cones to the last bar location.
  • Updated inputs menu with categories for clarity.
  • Add options to position cone based on time instead of bars in the Date Settings.
Release Notes:
Add Asymmetric Laplace Distribution.
Add Cauchy Distribution.
Add Logistic Distribution (currently broken)
Add Cumulative Distribution Function (CDF) Settings for Asymmetric Laplace and Cauchy Distributions.
Add input for mean selection. The "Auto" selection will use the recommended mean for your current selected distribution.
Release Notes:
Fixed 2 typos
Release Notes:
  • Add mean line and settings to adjust the calculations and style of it.
  • Use a distribution's recommended mean calculation, or manually set it to use the average or median.
  • If you don't want the cones to update their location, you can lock them in place with a setting.
  • Two ways of anchoring the origin of the cones: 1. manually set it a specific number of bars back 2. start from the beginning of a selected higher time frame.
  • If you need to offset the origin on the timeframe anchor, there's an offset input. It's 1 by default so that the cones are always considered "out of sample" from the trading period analyzed.
  • Change any line's color, style, width.
  • Change the highlight/fill colors between any two cones.
  • Default colors are based on the Solarized color palette.
  • Colors were selected to maximize contrast for color blind traders. If you are color blind let me know how well it works for you and your type of colorblindness.
Release Notes:
Update script's preview chart.
Release Notes:
Remove minimized indicators from the indicator's chart preview.
Release Notes:
  • Started to add Expected Value CDF cones.
  • Added Absolute Deviation CDF cones. This calculation takes all the data points past a set CDF probability, finds the average deviation from the mean, and then plots the line.
  • Improved Cauchy distribution.
  • Add Generalized Cauchy distribution.
  • Add select date cone anchor.


So how do I use the AD CDF and E(X) CDF inputs?
First some definitions:
AD stands for Absolute Deviation. It takes the absolute deviation of the respective CDF input probability. E(X) is the symbol for Expected Value, however, right now it works more like a "True Value". Expected Value is probability weighted, and that has not been added yet. So I'm simply taking the respective value that corresponds to the set CDF probability and forecasting that.

So how to use it?
Either leave the settings alone if you want to stick with the defaults. Ideally distributions are more accurate with the Expected Value type over the Absolute Deviation type. However, the Absolute Deviation can behave more consistently; as in less bugs as it is a more well flushed out feature. This is especially true for the Cauchy distributions. They still need some more work, but the values displayed are proper forecasts from either forecast type. You just might get a current bug where a deviation doesn't show.

This is where you come in as a Beta participant!
Not all of the features are completely working. Not everything has appropriate tooltips or even works. The indicator is in a Beta phase and you're using it as I'm developing it. However, please send me your feedback and questions about the indicator so I can begin to create documentation for some of these more advanced statistical features! I always appreciate everything everybody does to contribute ideas, tooltips, or simple clarification on how things in the indicator are calculated.

For everyone who contributes to my Todo list essentially, I'll give credit for keeping me on track with features and polishing of the indicator. (and maybe a few extra things in the future 😉)

Joe Baus, bausbenchmarks.com
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact joebaus for more information, or follow the author's instructions below.

Please note that this is a private, invite-only script that was not analyzed by script moderators. Its compliance to House Rules is undetermined. TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

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.

Author's instructions

Ask me about access.

Want to use this script on a chart?

Warning: please read before requesting access.