PROTECTED SOURCE SCRIPT
GAP based S/R

This Script is designed to show repeating pattern in the market, encountered by gaps.
Depending on the Gap, the Lines will be drawn in the selected color.
The Gap is checked from the lowest point of the old candle-body to the highest point of the new candle body for a bearish Gap and vice versa for bullish Gap.
The Script allows to:
- enable bearish gaps, bullish gaps or both
- adjust the minimum pips for the marketjump to be considered a gap
- adjust color of the bullish/bearish gap
- define how much bars should be considered in the history, where 4999 is the max value.
With this functionality and the showing patterns, it is possible to determine support and resistance zones.
When the script is used in markets/periods with many gaps and a high number of historic candles is watched, you might not see any horizontal lines at all -> please reduce the number of historical bars in order to draw an appropriate number of lines.
Depending on the Gap, the Lines will be drawn in the selected color.
The Gap is checked from the lowest point of the old candle-body to the highest point of the new candle body for a bearish Gap and vice versa for bullish Gap.
The Script allows to:
- enable bearish gaps, bullish gaps or both
- adjust the minimum pips for the marketjump to be considered a gap
- adjust color of the bullish/bearish gap
- define how much bars should be considered in the history, where 4999 is the max value.
With this functionality and the showing patterns, it is possible to determine support and resistance zones.
When the script is used in markets/periods with many gaps and a high number of historic candles is watched, you might not see any horizontal lines at all -> please reduce the number of historical bars in order to draw an appropriate number of lines.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。