OPEN-SOURCE SCRIPT
CHiLo — Custom HiLo (SMA/EMA, Activator, Shading, Auto-Decimals)

CHiLo is a clean Hi/Lo trend read with SMA/EMA options, a HiLo vs. HiLo Activator mode, optional band shading, and a right-side HiLo marker with automatic decimals based on the symbol. Optional Buy/Sell labels mark state flips. Inspired by the broader trend-following literature and practitioners; in Brazil, educator Hulisses “Tio Huli” Dias is a notable voice popularizing trend following.
What it does
CHiLo plots a Hi/Lo state with two modes:
It includes:
Goal: deliver a fast, visual trend context that you can pair with your own risk rules and confirmations.
How to use
Inputs (quick reference)
Notes & credits
What it does
CHiLo plots a Hi/Lo state with two modes:
- HiLo (classic high/low bands)
- HiLo Activator (activator-style behavior)
It includes:
- SMA/EMA selection
- Optional shading between Hi/Lo bands
- Optional Buy/Sell labels on state flips
- HiLo marker (auto-decimals from the symbol’s tick size)
Goal: deliver a fast, visual trend context that you can pair with your own risk rules and confirmations.
How to use
- Add the indicator and choose Mode (HiLo / Activator) and MA type (SMA/EMA).
- Tune Period (and Offset if needed). Higher = smoother (fewer flips); lower = more responsive.
- Toggle Shading to emphasize the envelope.
- Toggle Buy/Sell labels if you want flip markers.
- Use the HiLo marker on the right to read the current level (auto-formatted).
Inputs (quick reference)
- Period / Offset — sensitivity vs. delay.
- Type — HiLo or HiLo Activator.
- MA Type — SMA (steadier) or EMA (snappier).
- HiLo Style — Points or Line.
- Shading & Transparency — highlight the band area.
- Buy/Sell Labels — on/off.
- HiLo Marker — size and horizontal offset (decimals automatic).
Notes & credits
- Educational use only; not financial advice.
- For best results, combine with position sizing, stops, and regime filters.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Paulo H. Parize e Tio Huli
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Paulo H. Parize e Tio Huli
Disclaimer
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.