PROTECTED SOURCE SCRIPT
HEKO-Acumulación/Distribución/Objetivo

HEKO — Accumulation / Distribution / Targets + Pi-Cycle is an all-in-one indicator designed for anyone who wants to spot smart-buy zones (accumulation) and smart-sell zones (distribution), filter them with simple rules, and turn them into quantified targets (blue triangle)—all without prior knowledge.
What it does, in 4 points
Detects candles with buying traits (high volume, high close, positive CMF, non-extreme RSI) and selling traits (upper rejection, low close, negative CMF, high RSI).
Filters signals to show them only when price is below all the 200s (green) or above all the 200s (red), reducing “noise” in the middle zones.
Generates automatic targets from the day’s high of the green signal (visible point), and confirms with a blue triangle when that target is reached.
Logs and numbers each green-point ↔ blue-triangle pair, adds a target average, simulates an educational assessment, and optionally marks tops with Pi-Cycle.
Recommended workflow
Turn on the moving averages (MA1…MA5) and the 200-channel filter (recommended).
Adjust sensitivity: volume (multipliers), closePct (80–90%), wickFrac (35–50%), RSI Low/High if you want to filter extremes.
Watch for green signals below the 200 channel. When one appears, the system sets a target (= day’s high × (1 + %)).
Wait for the blue triangle. When it touches the target you’ll see it on price and, if you want, in the panel as well.
You can number each green-blue pair for tracking.
Use Pi-Cycle as a macro top alert (especially in BTC/crypto or, with stock mode, in equities).
Check the TG average and, if useful, the assessment (simulation) to feed back into your parameters.
Key options and why they matter
200 channel (4h and 1D): separates “cheap zones” (green) from “expensive zones” (red).
CMF and volume: quantify whether buying/selling shows real commitment.
Close within the candle: avoids “indifferent” candles and favors decisive ones.
Targets from the daily high: reduces “close” bias and gives realistic room for the chosen %.
Point-triangle pairing: traceability. You know which target comes from which signal.
Pi-Cycle: cycle warning that helps you avoid “falling in love with tops.”
Best practices
Start conservative (default parameters).
Adjust mult and closePct if you see too many or too few signals.
In very volatile assets, raise wickFrac and multDist for reds.
Review the TG average per asset: it guides you on whether your target % is ambitious or too low.
Remember: this is not a complete strategy; it’s a reading and targeting tool. Use it with risk management and your own plan.
Limits and reminders
No indicator eliminates false positives. Filters only reduce noise.
Targets are triggered by the candle’s high. A spike can hit the % instantly.
Pi-Cycle isn’t magic. It’s a historically sensible pattern—useful as an alert, not as dogma.
What it does, in 4 points
Detects candles with buying traits (high volume, high close, positive CMF, non-extreme RSI) and selling traits (upper rejection, low close, negative CMF, high RSI).
Filters signals to show them only when price is below all the 200s (green) or above all the 200s (red), reducing “noise” in the middle zones.
Generates automatic targets from the day’s high of the green signal (visible point), and confirms with a blue triangle when that target is reached.
Logs and numbers each green-point ↔ blue-triangle pair, adds a target average, simulates an educational assessment, and optionally marks tops with Pi-Cycle.
Recommended workflow
Turn on the moving averages (MA1…MA5) and the 200-channel filter (recommended).
Adjust sensitivity: volume (multipliers), closePct (80–90%), wickFrac (35–50%), RSI Low/High if you want to filter extremes.
Watch for green signals below the 200 channel. When one appears, the system sets a target (= day’s high × (1 + %)).
Wait for the blue triangle. When it touches the target you’ll see it on price and, if you want, in the panel as well.
You can number each green-blue pair for tracking.
Use Pi-Cycle as a macro top alert (especially in BTC/crypto or, with stock mode, in equities).
Check the TG average and, if useful, the assessment (simulation) to feed back into your parameters.
Key options and why they matter
200 channel (4h and 1D): separates “cheap zones” (green) from “expensive zones” (red).
CMF and volume: quantify whether buying/selling shows real commitment.
Close within the candle: avoids “indifferent” candles and favors decisive ones.
Targets from the daily high: reduces “close” bias and gives realistic room for the chosen %.
Point-triangle pairing: traceability. You know which target comes from which signal.
Pi-Cycle: cycle warning that helps you avoid “falling in love with tops.”
Best practices
Start conservative (default parameters).
Adjust mult and closePct if you see too many or too few signals.
In very volatile assets, raise wickFrac and multDist for reds.
Review the TG average per asset: it guides you on whether your target % is ambitious or too low.
Remember: this is not a complete strategy; it’s a reading and targeting tool. Use it with risk management and your own plan.
Limits and reminders
No indicator eliminates false positives. Filters only reduce noise.
Targets are triggered by the candle’s high. A spike can hit the % instantly.
Pi-Cycle isn’t magic. It’s a historically sensible pattern—useful as an alert, not as dogma.
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.