OPEN-SOURCE SCRIPT
BK AK-Warfare Formations

👑 BK AK-Warfare Formations — Form the pride. Take the high ground. Strike with wisdom. 👑
Built for traders who think like commanders: see the formation, plan the maneuver, execute the strike.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Auto Chart Patterns):
![Auto Chart Patterns [Trendoscope®]](https://s3.tradingview.com/w/WZ8B1FIW_mid.png)
The entire pattern engine (multi-zigzag scanning, pivot logic, trendline-pair validation, geometric classification, drawing framework, overlap handling, and pattern caps) is by Trendoscope—one of the best coders on TradingView and the creator of this indicator’s core.
I’m not rewriting his war machine. I’m upgrading the interface and tactical readability so you can see structure faster and act cleaner.
🧩 BK Enhancements (on top of Trendoscope)
Built for clarity under pressure:
Short-form formation tags so your chart stays readable (AC/DC/RC/RWE/FWE/CT/DT/etc.)
Label transparency controls (text + background), including separate controls for short labels
Hover tooltips (toggle): hover a label to see the full pattern name + bias (Bullish/Bearish/Neutral)
Alerts upgraded with bias + category filtering (Channel / Wedge / Triangle)
Pattern border extension (optional): extends the two boundary lines forward by N bars so the battlefield edges stay visible (not extending random zigzag legs)
Everything else remains Trendoscope’s architecture and detection logic.
🧠 What It Does
Auto-detects and labels:
Channels
AC — Ascending Channel
DC — Descending Channel
RC — Ranging Channel
Wedges
RWE / FWE — Rising/Falling Wedge (Expanding)
RWC / FWC — Rising/Falling Wedge (Contracting)
Triangles
ATC / DTC — Asc/Desc Triangle (Contracting)
ATE / DTE — Asc/Desc Triangle (Expanding)
CT — Converging Triangle
DT — Diverging Triangle
You get clean battlefield tags (short codes) and optional hover briefings (full name + bias) without clutter.
🧭 How It Detects (So You Know It’s Not Random)
Trendoscope’s engine does this in a disciplined sequence:
Multi-Zigzag Sweep
Multiple zigzag levels scan the same market from different swing sensitivities.
Pivot Structure Validation (5 or 6 pivots)
A formation is only valid when pivot sequencing produces a legit trendline pair.
Trendline-Pair Rules
Upper boundary anchors to pivot highs
Lower boundary anchors to pivot lows
Geometry is measured (parallel / converging / diverging) to classify channel vs wedge vs triangle
Optional quality filters reduce warped/low-quality shapes (bar ratio checks, overlap avoidance, max pattern caps)
You’re not getting “art.” You’re getting validated geometry.
⚙️ Core Controls (What You Actually Tune)
Zigzag length/depth per level: swing sensitivity (faster vs cleaner)
Pivots used (5 or 6): tighter vs broader structures
Error/Flat thresholds: tolerance + what qualifies as “flat”
Avoid overlap: prevents stacking junk on top of junk
Max patterns: keeps the chart from becoming noise
Label system: short codes, transparency, tooltips, bias visibility
Border extension: projects the structure edges forward for planning
🗺️ Read the Battlefield (Tactical Translation)
AC (Ascending Channel): trend carry; buy pullbacks to the lower wall, manage risk outside structure
DC (Descending Channel): late down-leg; watch for momentum shift + reclaim = tactical reversal zone
RWE (Rising Wedge): distribution bias; break + failed retest is where weakness shows
CT / DT (Triangles): compression → expansion; plan edges, not the middle
Structure is the map. Bias is the compass. Your risk plan is the sword.
🧑🏫 Mentor A.K. (Respect Where It’s Due)
A.K. is the discipline behind this project.
Patience. Clean execution. No gambling. No chasing.
His standard is in every choice: reduce noise, sharpen structure, force clarity.
This is why the labels are tight, the tooltips are direct, and the features serve execution—not ego.
🤝 Give Forward (The Code of the Camp)
If this indicator sharpens your edge:
Teach one trader how to read structure with discipline (not hype)
Share process, not just screenshots (entries, invalidation, management)
If you build on open work, credit loudly and improve responsibly
A king builds men. A lion builds courage. A camp survives because knowledge moves forward.
👑 King Solomon’s Standard
This is warfare—market warfare—so we move by wisdom, not emotion:
“By wise counsel you will wage your own war, and in a multitude of counselors there is safety.” — Proverbs 24:6
BK AK-Warfare Formations — where formation meets judgment, and judgment meets execution.
Gd bless. 🙏
Built for traders who think like commanders: see the formation, plan the maneuver, execute the strike.
🎖️ Full Credit (Engine + Logic — Trendoscope)
Original foundation (Trendoscope Auto Chart Patterns):
![Auto Chart Patterns [Trendoscope®]](https://s3.tradingview.com/w/WZ8B1FIW_mid.png)
The entire pattern engine (multi-zigzag scanning, pivot logic, trendline-pair validation, geometric classification, drawing framework, overlap handling, and pattern caps) is by Trendoscope—one of the best coders on TradingView and the creator of this indicator’s core.
I’m not rewriting his war machine. I’m upgrading the interface and tactical readability so you can see structure faster and act cleaner.
🧩 BK Enhancements (on top of Trendoscope)
Built for clarity under pressure:
Short-form formation tags so your chart stays readable (AC/DC/RC/RWE/FWE/CT/DT/etc.)
Label transparency controls (text + background), including separate controls for short labels
Hover tooltips (toggle): hover a label to see the full pattern name + bias (Bullish/Bearish/Neutral)
Alerts upgraded with bias + category filtering (Channel / Wedge / Triangle)
Pattern border extension (optional): extends the two boundary lines forward by N bars so the battlefield edges stay visible (not extending random zigzag legs)
Everything else remains Trendoscope’s architecture and detection logic.
🧠 What It Does
Auto-detects and labels:
Channels
AC — Ascending Channel
DC — Descending Channel
RC — Ranging Channel
Wedges
RWE / FWE — Rising/Falling Wedge (Expanding)
RWC / FWC — Rising/Falling Wedge (Contracting)
Triangles
ATC / DTC — Asc/Desc Triangle (Contracting)
ATE / DTE — Asc/Desc Triangle (Expanding)
CT — Converging Triangle
DT — Diverging Triangle
You get clean battlefield tags (short codes) and optional hover briefings (full name + bias) without clutter.
🧭 How It Detects (So You Know It’s Not Random)
Trendoscope’s engine does this in a disciplined sequence:
Multi-Zigzag Sweep
Multiple zigzag levels scan the same market from different swing sensitivities.
Pivot Structure Validation (5 or 6 pivots)
A formation is only valid when pivot sequencing produces a legit trendline pair.
Trendline-Pair Rules
Upper boundary anchors to pivot highs
Lower boundary anchors to pivot lows
Geometry is measured (parallel / converging / diverging) to classify channel vs wedge vs triangle
Optional quality filters reduce warped/low-quality shapes (bar ratio checks, overlap avoidance, max pattern caps)
You’re not getting “art.” You’re getting validated geometry.
⚙️ Core Controls (What You Actually Tune)
Zigzag length/depth per level: swing sensitivity (faster vs cleaner)
Pivots used (5 or 6): tighter vs broader structures
Error/Flat thresholds: tolerance + what qualifies as “flat”
Avoid overlap: prevents stacking junk on top of junk
Max patterns: keeps the chart from becoming noise
Label system: short codes, transparency, tooltips, bias visibility
Border extension: projects the structure edges forward for planning
🗺️ Read the Battlefield (Tactical Translation)
AC (Ascending Channel): trend carry; buy pullbacks to the lower wall, manage risk outside structure
DC (Descending Channel): late down-leg; watch for momentum shift + reclaim = tactical reversal zone
RWE (Rising Wedge): distribution bias; break + failed retest is where weakness shows
CT / DT (Triangles): compression → expansion; plan edges, not the middle
Structure is the map. Bias is the compass. Your risk plan is the sword.
🧑🏫 Mentor A.K. (Respect Where It’s Due)
A.K. is the discipline behind this project.
Patience. Clean execution. No gambling. No chasing.
His standard is in every choice: reduce noise, sharpen structure, force clarity.
This is why the labels are tight, the tooltips are direct, and the features serve execution—not ego.
🤝 Give Forward (The Code of the Camp)
If this indicator sharpens your edge:
Teach one trader how to read structure with discipline (not hype)
Share process, not just screenshots (entries, invalidation, management)
If you build on open work, credit loudly and improve responsibly
A king builds men. A lion builds courage. A camp survives because knowledge moves forward.
👑 King Solomon’s Standard
This is warfare—market warfare—so we move by wisdom, not emotion:
“By wise counsel you will wage your own war, and in a multitude of counselors there is safety.” — Proverbs 24:6
BK AK-Warfare Formations — where formation meets judgment, and judgment meets execution.
Gd bless. 🙏
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.