In this page, you will learn about the settings in the ‘Extra Exit Conditions’ section.
The 4 possible Support/Resistance options for this section are:
Exit when price closes below support - Exits the trade when price closes a candle below the most recent support. Meant to be used for longs.
Exit when prices breaks support on volume - This is difficult to explain in words so here is the code if you want to understand it. It is the ‘support_broken’ variable. Meant to be used for longs.
To visually see the breaks, you can toggle on the ‘Plot Breaks Support and Resistance Lines’ option at the bottom of the indicator, and look for candles that have a Red ‘B’ plotted above them.
Exit when price closes above resistance - Exits the trade when price closes a candle above the most recent resistance. Meant to be used with shorts.
Exit when prices breaks resistance on volume - This is difficult to explain in words so here is the code if you want to understand it. It is the ‘resistance_broken’ variable. Meant to be used with shorts.
To visually see the breaks, you can toggle on the ‘Plot Support and Resistance Lines’ option at the bottom of the indicator, and look for candles that have a green ‘B’ plotted above them.