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 protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.