OPEN-SOURCE SCRIPT

Support and Resistance

lookback: This input allows you to specify the number of bars to look back to calculate the support and resistance levels.

support: This is calculated as the lowest low over the specified lookback period.

resistance: This is calculated as the highest high over the specified lookback period.

plot: The support and resistance levels are plotted on the chart with different colors.

bgcolor: This optional feature highlights the support and resistance zones with a semi-transparent background color.

Declinazione di responsabilità