I got sick of calculating leverage all of the time, so I made this real time calculator. It is primarily for crypto derivatives. It tracks and displays the liquidation price for 5 customisable leverage levels and plots them either historically and/or in real time, with labels beside each including the estimated price. These calculations include maintenance...
This is the acceleration of a chart written in pine. It's the second derivative otherwise the derivative of the momentum. It shows how fast a stock's momentum is changing and in what direction. As standard I left the controls in the settings for source and length of the estimate. I will be incorporating this in other more complicated scripts here shortly
Can be extended with more derivative or spot pairs, see the comments in the code for instructions. Most importantly, the pairs need to be added to the respective arrays in the same order, so that the weights are applied to the correct pairs.
The Simple Deriv Indicator was created by John Ehlers (Stocks and Commodities June 2021 pg 10) and this is a heavily modified version of his original script that changes the buy and sell signals. I did testing with his original settings but they didn't seem to be very profitable for most stocks so I created my own system. This indicator does have a lag though so...
Momentum written in Pine You are able to change the source with this.
The following oscillator is a twist on momentum, incorporating a 2nd derivative "acceleration" to help determine changes in momentum. Both are plotted directly accessing previous series values rather than using a moving average. The script has an option to divide so the formula is d(Price)/d(Time), like a derivative. The script also provides options for the user...
This is a test that offers insight into whether and asset is heading into bullish or bearish territory. This indicator/test offers insight into the Exponential Moving Average's velocity and acceleration as well as the Stochastic RSI's velocity, acceleration and jerk. Included is a 'Stochastic Difference' and 'Stochastic Growth' indicators (commented out) that...