OPEN-SOURCE SCRIPT

False Breakdown Long Confirm (dropthoughcashin)

136
// =============================================================================
// EN — Script Introduction
// Name: False Breakdown Long Confirm (dropthoughcashin)
// Timeframe: Designed for 5-minute charts (works on other TFs but tuned for 5m)
//
// What this script does:
// This indicator detects a “false breakdown” (liquidity sweep) below a support
// level, followed by a reclaim and a retest-hold confirmation. When confirmed,
// it prints a label and triggers the alert condition: dropthoughcashin.
//
// Core logic (3 steps):
// 1) Define the support level (Key Level):
// - Pivot mode: uses the latest confirmed pivot low as support.
// - Manual mode: uses your manually entered support level.
// 2) False breakdown + reclaim:
// - Price sweeps below support (low < support),
// - The sweep must be shallow (limited by ATR multiple or fixed points),
// - Then price reclaims: close back above the support.
// 3) Retest-hold confirmation (within N bars after reclaim):
// - Price retests near the support (low <= support + tolerance),
// - And closes at/above the support (hold),
// - If confirmed within the window, signal triggers once.
//
// Key parameters:
// - Max Penetration: filters out “deep breakdowns” you do NOT want.
// - Retest tolerance: how close price must retest the support.
// - Confirm within N bars: time limit to confirm after reclaim.
//
// Notes / Limitations:
// - Pivot support is lagging by design (pivot is confirmed after pLen bars).
// - This is a signal/alert tool, not a full trading strategy.
// =============================================================================
//
// 中文 — 脚本介绍
// 名称:False Breakdown Long Confirm(dropthoughcashin)
// 周期:主要为 5分钟K 设计(其他周期也能用,但默认参数以 5m 优化)
//
// 脚本作用:
// 本指标用于识别“假跌破(扫流动性/扫止损)”形态:价格先刺破支撑位,随后快速收回
// 并在短时间内回踩踩住,形成做多确认。确认后会在图上打标签,并触发提醒条件:
// dropthoughcashin。
//
// 核心逻辑(3步):
// 1) 定义支撑位(Key Level):
// - Pivot 模式:用最近确认的 pivot low(局部低点)作为支撑。
// - Manual 模式:用你手动输入的固定支撑价位。
// 2) 假跌破 + 收回(reclaim):
// - 价格最低点刺破支撑(low < 支撑),
// - 但下穿幅度必须“浅”(用 ATR 倍数或固定点数限制),
// - 随后收盘重新站回支撑上方(close > 支撑)。
// 3) 回踩踩住确认(retest-hold):
// - 在收回之后的 N 根K内,价格回踩到支撑附近(low <= 支撑 + 容忍),
// - 且收盘守住支撑(close >= 支撑),
// - 满足则触发一次信号与提醒。
//
// 关键参数说明:
// - Max Penetration(最大下穿深度):过滤掉“下穿太深”的破位,避免误触发。
// - Retest tolerance(回踩容忍范围):定义回踩要贴近支撑到什么程度。
// - Confirm within N bars(确认窗口):收回后限定多少根K内必须完成回踩确认。
//
// 注意事项:
// - Pivot 支撑位天然滞后(需要 pLen 根K确认后才成立),属于“稳但晚”的设计。
// - 该脚本是信号/提醒工具,不是完整的交易策略(不包含止损止盈与仓位管理)。

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。