This script allows traders to customize candlestick colors based on The Strat trading system developed by Rob Smith.
The script determines if the current candle is an inside bar (1), outside bar (3), directional up (2u) , or directional down (2d).
An inside bar is a candle that trades fully within the previous candle. An outside bar breaks both the high and the low of the previous candle. A directional up bar breaks the high of the previous candle but NOT the low of the previous candle. A directional down bar breaks the low of the previous candle but NOT the high of the previous candle.
The trader can modify the colors they wish to use in the settings menu.
NOTE: You must select "Visual order - Bring to front" If you do not, the custom colors will disappear when you click the chart window.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.