INVITE-ONLY SCRIPT

5EMA Touch/Break

20
EMA Touch/Break Monitor (5 Lines) — Overview

Purpose: Track downside touches and breakdowns against key EMAs (default 20/60/100/200/300) to judge pullbacks and risk control.

Direction considered: From above to below only. Upside touches/breakouts are not counted.

Signals:

Downside Touch (T): Previous bar at/above EMA, current low ≤ EMA → draw an upward triangle below the bar in the EMA’s color.

Downside Break (B): Previous bar at/above EMA, current low ≤ EMA × (1 − threshold) (default 2%) → draw a gold downward triangle above the bar.

Priority: If both occur on the same bar, Break overrides Touch.

First-only: Within a continuous run, only the first bar is marked; condition must clear before re-marking.

Scope: Signals are produced only for EMAs with length ≥ 60 (adjustable).

Display: The status line shows EMA prices only; a top-right table shows EMA name / price / color.

Inputs: Adjustable EMA lengths; break threshold (default 2%); optional date filter (default 2024-02-14 → 2025-12-30).

Alerts: Global first-only alerts for downside touch/break, plus per-EMA alerts.


用途:跟踪价格对关键 EMA(默认 20/60/100/200/300)的下行触及与下破,便于回踩/风控判断。

仅计算方向:从上向下。向上的触及/突破不计。

信号含义:

下触及(T):上一根在 EMA 上方,本根 低点 ≤ EMA → K线下方画与该 EMA 同色向上三角形。

下破位(B):上一根在 EMA 上方,本根 低点 ≤ EMA × (1 − 阈值)(默认 2%) → K线上方画金色向下三角形。

优先级:同根同时满足时,破位优先于触及。

首次原则:连续区间内只标第一根;需先离开条件,才会再次标记。

范围限制:仅对 长度 ≥60 的 EMA 标记信号(阈值可改)。

显示:状态行只显示 5 条 EMA 的价格;右上角表格展示每条 EMA 的名称/价格/颜色。

参数:EMA 长度可改;破位阈值默认 2%;可启用日期过滤(默认 2024-02-14 → 2025-12-30)。

提醒:提供“向下触及/向下破位(首次)”总提醒与每条 EMA 独立提醒。

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.