njrycd

Sideways Market Detector with High/Low NJR

Calculate the range as the difference between the high and low prices.

The maxRange input to specify the maximum allowable range that defines a sideways market.

The background color is set to blue during sideways market conditions, and it's transparent to some extent (transp=90). When the market is not sideways, the background color is not changed.

The indicator marks the start and end of the session with red triangles.

When the price range (high - low) is within the specified threshold, the indicator will indicate a sideways market with a blue background.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?