OPEN-SOURCE SCRIPT
TAKA Auto Retrace + SL v4.2

Automatically detects market trend and displays dynamic retracement zones for buy-the-dip and sell-the-rally setups, with an adaptive Stop-Loss line.
⸻
⚙️ Logic Overview
• Trend Detection: Based on the relationship between SMA 20 and SMA 60
• Uptrend → Blue zone (Buy the Dip)
• Downtrend → Red zone (Sell the Rally)
• Retracement Levels: Auto-draws Fibonacci 0.382 – 0.618 range
• Stop-Loss Mode: Select from
• Fib 0.786 (default)
• Structure (last swing high/low)
• ATR-based (volatility adaptive)
⸻
🎯 How to Use
1️⃣ Add the indicator to your chart
2️⃣ Adjust len to fit the latest swing move
3️⃣ When price enters the zone, wait for a confirmation signal (arrow, BOS, MACD cross)
4️⃣ Enter after the 0.5 breakout
5️⃣ SL = auto-generated line
TP = 0.382 → 0.236 → 1.0 partial targets
⸻
🧩 Recommended Combo
N-Wave or Dow Theory × MACD × TAKA Retrace
= “Wait on the zone, strike on the signal.”
⸻
Short version (for compact description):
Auto trend detection via SMA 20/60.
Draws Fibonacci 0.382–0.618 zones with adaptive Stop-Loss (Fib / Structure / ATR).
Uptrend = Buy zone | Downtrend = Sell zone.
⸻
That fits TradingView’s description box and looks clean when published
市場トレンドを自動で判定し
「押し目買い」「戻り売り」ゾーンを自動表示
さらにボラティリティに対応した損切りラインも描画します
⸻
ロジック概要
• トレンド判定:SMA20とSMA60の関係で方向を判断
• 上昇トレンド → 青帯(押し目買い)
• 下落トレンド → 赤帯(戻り売り)
• リトレース描画:フィボナッチ0.382〜0.618を自動描画
• 損切り方式(選択可)
• Fib 0.786(基本形)
• Structure(直近高安)
• ATR(ボラティリティ対応)
⸻
使い方
1️⃣ チャートに追加
2️⃣ lenを調整し、直近のスイングに合わせる
3️⃣ 価格が帯に入ったらサイン(矢印・BOS・MACDクロス)を待つ
4️⃣ 0.5ライン突破でエントリー
5️⃣ SL=自動ライン / TP=0.382→0.236→1.0で分割利確
⸻
推奨組み合わせ
N波動 or ダウ理論 × MACD × TAKA Retrace
=「ゾーンで待ち、サインで撃つ」戦略
⸻
⚙️ Logic Overview
• Trend Detection: Based on the relationship between SMA 20 and SMA 60
• Uptrend → Blue zone (Buy the Dip)
• Downtrend → Red zone (Sell the Rally)
• Retracement Levels: Auto-draws Fibonacci 0.382 – 0.618 range
• Stop-Loss Mode: Select from
• Fib 0.786 (default)
• Structure (last swing high/low)
• ATR-based (volatility adaptive)
⸻
🎯 How to Use
1️⃣ Add the indicator to your chart
2️⃣ Adjust len to fit the latest swing move
3️⃣ When price enters the zone, wait for a confirmation signal (arrow, BOS, MACD cross)
4️⃣ Enter after the 0.5 breakout
5️⃣ SL = auto-generated line
TP = 0.382 → 0.236 → 1.0 partial targets
⸻
🧩 Recommended Combo
N-Wave or Dow Theory × MACD × TAKA Retrace
= “Wait on the zone, strike on the signal.”
⸻
Short version (for compact description):
Auto trend detection via SMA 20/60.
Draws Fibonacci 0.382–0.618 zones with adaptive Stop-Loss (Fib / Structure / ATR).
Uptrend = Buy zone | Downtrend = Sell zone.
⸻
That fits TradingView’s description box and looks clean when published
市場トレンドを自動で判定し
「押し目買い」「戻り売り」ゾーンを自動表示
さらにボラティリティに対応した損切りラインも描画します
⸻
ロジック概要
• トレンド判定:SMA20とSMA60の関係で方向を判断
• 上昇トレンド → 青帯(押し目買い)
• 下落トレンド → 赤帯(戻り売り)
• リトレース描画:フィボナッチ0.382〜0.618を自動描画
• 損切り方式(選択可)
• Fib 0.786(基本形)
• Structure(直近高安)
• ATR(ボラティリティ対応)
⸻
使い方
1️⃣ チャートに追加
2️⃣ lenを調整し、直近のスイングに合わせる
3️⃣ 価格が帯に入ったらサイン(矢印・BOS・MACDクロス)を待つ
4️⃣ 0.5ライン突破でエントリー
5️⃣ SL=自動ライン / TP=0.382→0.236→1.0で分割利確
⸻
推奨組み合わせ
N波動 or ダウ理論 × MACD × TAKA Retrace
=「ゾーンで待ち、サインで撃つ」戦略
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.