OPEN-SOURCE SCRIPT

Master Grader v2.4.2

56
Master Scalp Trade Grader (v2.4.2 – Final Tweaks)

What it does
A lightweight scalp framework that grades trade quality in real time and marks entries / exits for you. The core bias is built from 8/21/50 EMAs (stack & slope), momentum is gated by RSI bands (bull ≥ rsiBull, bear ≤ rsiBear), and breakouts use a short lookback high/low. Optional volume filter requires volume ≥ its SMA(volLen). Trend strength is quantified with ADX, and risk is managed by an ATR×mult trailing stop. The on-chart Info Box shows Bias, Grade, Trend Strength, Exit Level, and % of Avg Volume.

How it works (signal logic)

Bias: Bull if 8>21>50 and 21/50 sloping up; Bear if 8<21<50 and sloping down; else Neutral.

Entries:

Long: new Bull bias + breakout above highest-high(breakLook) + RSI ≥ rsiBull (+ optional vol filter).

Short: new Bear bias + breakdown below lowest-low(breakLook) + RSI ≤ rsiBear (+ optional vol filter).

Trailing stop: ATR(atrLen) × atrMult, flips to the favorable side and trails with trend.

Exits:

Stop exit: price crosses the ATR trail.

Weak exit: ADX < adxStrong and 8/21 cross against you.

Grading

A: Strong Hold → Bias active and (ADX > adxStrong) and RSI in the correct zone.

B: Moderate Hold → Bias active and ADX > 20.

C: Weakening → Bias active but strength fading.

EXIT SIGNAL → Stop/weak exit triggered.

D: No Trend → No bias.

Visuals & Alerts

Colored bars: Bull = green, Bear = red.

Plots: 8/21/50 EMAs (custom colors), ATR trail, and entry/exit markers.

Info Box (top-right): Bias • Grade • ADX (Strong/Weak) • Exit Level • Volume vs Avg.

Alerts: Long Entry, Short Entry, Exit Signal (ready for webhooks).

Inputs (quick)
EMAs: 8/21/50 • RSI: rsiLen, rsiBull, rsiBear • Breakout lookback • Volume SMA + toggle • ADX length/threshold • ATR length/multiplier • Colors/toggles for EMAs, ATR trail, Info Box.

Notes

Designed for scalps / fast swings; works on 1–15m and up.

Best results when bias + breakout + RSI + (optional) volume all agree.

Use the ATR trail for mechanical exits; downgrade to B/C as early caution.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.