Using Pivots / Swing Point detection, this script plots the final swing candle's body span from top to bottom with an extended horizontal line, with a mid-channel point at 50% between open and close.
Once the trend changes, these zones serve as support and resistance zones, and can help identify breakouts from ranges and probable reversal points moving forward.
To avoid clutter, the script allows you to select a specific date-range (start / end date) which the rule will only apply and plot for.
Other customizable options are the length in bars of the pivot/swing point detection, which is defaulted at 20 bars for both highs and lows.
Works best on time-frames 4H, 1D, etc. with some luck to be had in occasionally shorter time-frames as shown above.
4H:
發行說明
Version 0.2
High / Low Swing Points can now be defined by the candle's High or Low (Wicks), which is and was the default, or you can define the Highs and Lows of the swing by candle's bodies (Open or Close).