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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Paulo H. Parize e Tio Huli
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Paulo H. Parize e Tio Huli
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.