PROTECTED SOURCE SCRIPT
ESTP Meter

Auto Entry/SL/TP + Meter (no dashboard / no MA50 plot / no fixed levels)
Idea
The indicator builds Entry / SL / TP1–TP3 zones and highlights bars when the odds of trend continuation are high. Under the hood it runs a multi-factor Meter with HTF filtering, volume, volatility, and breakout context. It does not draw a dashboard, MA50 line, or fixed levels — only the working zones and setup highlights.
How it works
Signal LONG/SHORT comes from a combo of:
RSI(14), MACD (line/signal/hist), and trend vs SMA50 (used internally only, not plotted).
HTF filter (tfHTF): direction alignment on the higher timeframe via EMA50, RSI, MACD-hist.
Breakout factor: a brLen lookback high/low break in the trend direction boosts the score.
Meter/Score (0–100): weighted sum of RVOL, ATR%, TREND, ADX, BREAK, with a chop penalty when EMA20–EMA50 gap is small.
Bar highlight: when Score ≥ 70 and there’s a breakout in the aligned trend direction.
Zones:
On signal change (bar close) it pins Entry at the close.
SL: at the most recent confirmed pivot (5×5). If no pivot yet, a fallback SL = ±2% from Entry.
TP1/TP2/TP3: from wave = |Entry − SL| using your Fib multipliers.
Zones are drawn 20 bars forward with labels for Entry/SL/TP.
Key Inputs
TP1/TP2/TP3 Fib: 0.618 / 1.0 / 1.618 by default.
HTF (tfHTF): higher-timeframe filter (default 60m).
brLen: breakout lookback (suggest 20–50).
rvolMin / atrNorm: normalization floors for relative volume and ATR%.
emaBandMin: minimum EMA20–EMA50 gap; below this, score is penalized.
showBarHL: toggle bar highlighting.
Note: adxMin is reserved for future use (not enforced as a hard filter in this version).
Practical use
Timeframes: best from M15 to H4. On M1–M5, raise brLen and rvolMin to fight noise.
Markets: liquid futures/crypto/FX. For thin symbols, reduce RVOL impact.
Exits: scale out across TP1/TP2/TP3; after TP1, move to break-even.
Context filter: trade only when HTF & LTF align (built into the logic).
Risk: position size from SL distance; keep risk ≤ 1–2% per trade.
Caveats (repainting / behavior)
Pivot-based SL confirms after 5 bars — by design it’s delayed. Until then, a ±2% safety SL is used.
Zones/labels are placed on bar close when the signal flips — this reduces flicker and intrabar artifacts.
HTF data uses request.security — prefer closed bars to avoid intrabar higher-TF whipsaws.
This is an indicator, not a strategy; no guarantees. Forward-test and tune per market/TF.
Suggested presets
Trend/Swing (H1–H4): brLen=30–50, rvolMin=1.2–1.5, atrNorm=0.02–0.03, emaBandMin=0.002–0.004.
Intraday (M15–M30): brLen=20–30, rvolMin=1.1–1.3, atrNorm=0.03–0.05, emaBandMin=0.0015–0.003.
Idea
The indicator builds Entry / SL / TP1–TP3 zones and highlights bars when the odds of trend continuation are high. Under the hood it runs a multi-factor Meter with HTF filtering, volume, volatility, and breakout context. It does not draw a dashboard, MA50 line, or fixed levels — only the working zones and setup highlights.
How it works
Signal LONG/SHORT comes from a combo of:
RSI(14), MACD (line/signal/hist), and trend vs SMA50 (used internally only, not plotted).
HTF filter (tfHTF): direction alignment on the higher timeframe via EMA50, RSI, MACD-hist.
Breakout factor: a brLen lookback high/low break in the trend direction boosts the score.
Meter/Score (0–100): weighted sum of RVOL, ATR%, TREND, ADX, BREAK, with a chop penalty when EMA20–EMA50 gap is small.
Bar highlight: when Score ≥ 70 and there’s a breakout in the aligned trend direction.
Zones:
On signal change (bar close) it pins Entry at the close.
SL: at the most recent confirmed pivot (5×5). If no pivot yet, a fallback SL = ±2% from Entry.
TP1/TP2/TP3: from wave = |Entry − SL| using your Fib multipliers.
Zones are drawn 20 bars forward with labels for Entry/SL/TP.
Key Inputs
TP1/TP2/TP3 Fib: 0.618 / 1.0 / 1.618 by default.
HTF (tfHTF): higher-timeframe filter (default 60m).
brLen: breakout lookback (suggest 20–50).
rvolMin / atrNorm: normalization floors for relative volume and ATR%.
emaBandMin: minimum EMA20–EMA50 gap; below this, score is penalized.
showBarHL: toggle bar highlighting.
Note: adxMin is reserved for future use (not enforced as a hard filter in this version).
Practical use
Timeframes: best from M15 to H4. On M1–M5, raise brLen and rvolMin to fight noise.
Markets: liquid futures/crypto/FX. For thin symbols, reduce RVOL impact.
Exits: scale out across TP1/TP2/TP3; after TP1, move to break-even.
Context filter: trade only when HTF & LTF align (built into the logic).
Risk: position size from SL distance; keep risk ≤ 1–2% per trade.
Caveats (repainting / behavior)
Pivot-based SL confirms after 5 bars — by design it’s delayed. Until then, a ±2% safety SL is used.
Zones/labels are placed on bar close when the signal flips — this reduces flicker and intrabar artifacts.
HTF data uses request.security — prefer closed bars to avoid intrabar higher-TF whipsaws.
This is an indicator, not a strategy; no guarantees. Forward-test and tune per market/TF.
Suggested presets
Trend/Swing (H1–H4): brLen=30–50, rvolMin=1.2–1.5, atrNorm=0.02–0.03, emaBandMin=0.002–0.004.
Intraday (M15–M30): brLen=20–30, rvolMin=1.1–1.3, atrNorm=0.03–0.05, emaBandMin=0.0015–0.003.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.