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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.