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.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。