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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Paulo H. Parize e Tio Huli
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Paulo H. Parize e Tio Huli
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.