OPEN-SOURCE SCRIPT

Highs/Lows difference [OrganicPunch]

Highs/Lows difference indicator

To visually evaluate the difference between highs and lows of a price range.

This handsome indicator shows:
  • difference between highs of 2 candles by displaying it in green histogram
  • difference between lows of 2 candles by displaying it in red histogram
  • difference between both highs and lows by displaying a circle at the level of the difference


To read the numerical value, point at the circle of the relevant bar you are interested in, and see the scale.

Indicator is useful in creating strategies where you want to filter out consolidations/ranges (or to locate them), e.g. "Open trade when H/L difference is larger than 200", or "Look for candles with H/L difference lesser than 50".
The exact value of needed H/L difference can be found using this indicator.
Candlestick analysisconsolidationOscillatorspricediferencerangerangefilterVolatilityvolatilityindicatorvolatilityrange

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明