PROTECTED SOURCE SCRIPT
Tweak Strat Candle Color

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 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.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.