This study is a proof of concept analysis of situations that can lead to divide with zero or divide by zero conditions. Such situations can lead to mathematical errors, and can increase the potential for false alerts.
One common formula that is prone to this situation is:
This is used to calculate percentage change of a...
RSI with a twist. The values are calculated differently depending upon whether the RSI is above or below the centre point. I have found this gives:
More pronounced divergences which are easier to spot and more accurate at predicting local top and bottoms
More accurate indications of overbought/oversold conditions.
This Indicator Plots Swing Highs & Swing Lows based on Lance Beggs of (Your Trading Coach) definition:
A Swing High (SH) is a price bar high preceed by two lower highs (LH) and followed by two lower highs (LH)
In the event of multiple candles forming equal highs, this will still be defined as a swing high, provided that there are two candles with lower highs...
Quality of life script I just threw together, figured some of you might get some use out of it
Does what you'd think
Could edit the security function (or add another) to return the info at any resolution