bitmexstorm

Coupled Polygamma Function

bitmexstorm Updated   
The polygamma function is the (n+1)st derivative of the logarithm of the gamma function where n is the respective order. An approximation of this derivative at order n=1 is taken, and when its real coefficients are used with an ATR, exhibits interesting behavior, in particular when 2 lengths coupled together, prevents whipsaws as both are needed to break for there to be a change in the trend-bias. When a long or a short signal is printed, this doesn't suggest a long/short action needs to be taken, only a bias is suggested. Wait for a pullback before entering if a long is triggered, for example.

There are 2 modes. Linear is used for prices following a non-polynomial market structure (y=mx+c). Accelerated is for more parabolic marker structures, followed by decaying prices (DOGEUSDT HTF is a great example).
Release Notes:
Added alerts

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?