OPEN-SOURCE SCRIPT

TSCandleColor (The Strat)

This indicator highlights 1 and 3 candles based on The Strat, created by Rob Smith. In The Strat, candles can only take one of 3 forms, an inside bar or a '1' where the high and low of the current candle are within the high and low of the previous candle, an outside bar or a '3' where the high and low of the current candle are outside of the previous bar, and a '2' bar where either the high or low of the current candle surpasses the previous candle but not both. Since '1' and '3' bars are key to many setups, this script highlights those candles. Highlighted colors are configurable by the user. This indicator further draws a line at the 50% mark of the previous candle for use in conjunction with the teachings of Sara Strat Sniper and her 50% rule. Her 50% rule states that when a '2' candle passes the 50% mark of the previous candle there is a high likelihood of that '2' candle becoming a '3'. Having this already drawn on the chart with each new candle makes it much easier to see this real-time. The color and style of the 50% line is also configurable.
Candlestick analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian