OPEN-SOURCE SCRIPT

Neutral Price Action Zones with Horizontal Lines

If the upper shadow of the red candle is longer than its lower shadow and the upper shadow of the green candle is longer than its lower shadow, it indicates that the upper and lower wicks of the red and green candles are equal. In this case, it means that the price does not show a clear trend in a specific direction, and the price movement is neutral. This situation usually suggests market uncertainty or that the price is moving within a horizontal range.

Red and Green Candle Check: The status of the candles is determined.
Shadow Calculations: The upper and lower shadows of the red and green candles are calculated.
Horizontal Range Check: The horizontal range condition is checked for the red and green candles.
Background Color: If the condition is met, the background is marked in gray.
Horizontal Line: When the horizontal range condition is met, a horizontal line is drawn.
Bands and ChannelsCandlestick analysis

开源脚本

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

想在图表上使用此脚本?

免责声明