GoodGuys Spot — Good Buy / Good Sell + Auto DCA

Ideal for crypto, indices, and stocks in 1D timeframes.
Why this indicator?
Immediate visual clarity: green “Good Buy” dots on lows, red “Good Sell” dots on highs, with adjustable text (size & offset).
Designed for the long-term investor: EMA50/EMA200 trend filter + RSI midline (optional).
Truly usable DCA: three modes (Time / Price / Hybrid), budget per purchase, cooldown, stops below the EMA50, auto-reset.
Exit discipline: Configurable partial TPs, trailing on local ATH, buffer on EMA200, "lock" after TP1 or beyond a defined ROI.
Multi-timeframe control: 1D/3D/1W mini-dashboard to read the market regime at a glance.
Ready for automation: structured alerts + CSV export via alert() (integrable into your external tools).
How it works (in brief)
Good Buy / Good Sell Signals (Daily)
Good Buy: Appearance of a confirmed daily pivot low (ta.pivotlow), optionally filtered by trend (Close > EMA200 & EMA50 > EMA200 & RSI ≥ midline).
Good Sell: Confirmed daily pivot high (ta.pivothigh) — visual peak marker.
Anti-repaint: “Confirm at close” option (recommended).
Automatic DCA
Modes:
Time (weekly / monthly / every N days),
Price (steps below EMA50: DCA1/DCA2/DCA3),
Hybrid (priority price, otherwise time trigger).
Security & Logic: DCA budget, cooldown in days, cap on the number of purchases, resetting of levels when the price crosses back above the EMA50, "Only Bull" option (only buy if the price is bullish LT).
Integrated tracking: cumulative investment, accumulated units, average price, PnL%.
Exits / Protection
Partial TPs (TP1/TP2/TP3) expressed as a % above the avg cost.
Trailing:
from the position's local ATH (exit if retracement is X%),
and/or EMA200 + buffer.
Profit Lock: after TP1, or beyond a defined ROI (raises a protective stop level).
MTF Dashboard (1D/3D/1W)
Displays the regime (bull/bear) based on the Close vs. EMA50/200 and RSI.
Helps you stay aligned with the underlying trend.
What you see on the chart
Green/red dots at pivots (automatic offset on the pivot candlestick).
Enlarged and offset “Good Buy / Good Sell” text (up for SELL, down for BUY) — fully adjustable.
EMA50 / EMA200, Candlestick Exit, TP lines (TP1/TP2/TP3), dynamic exit line (trailing/lock).
DCA Bands (manual markers below EMA50).
Two tables:
DCA/PnL (invested, units, avg cost, PnL%, PnL$, trail level),
MTF 1D/3D/1W (rate, position vs. EMA, RSI).
Main Settings
Pivots: sensitivity (left/right bars), BUY trend filter (Close>EMA200), marker styles (Circles / Triangles / Arrows / Labels).
Good Buy/Sell text: size (Small → Very Large), BUY offset (×ATR), SELL offset (×ATR).
Auto DCA: mode (Off / Time / Price / Hybrid), "Only Bull", budget/buy, cooldown, stops below EMA50, reset above EMA50.
Exits: TP1/TP2/TP3 (%), trailing (retracement from ATH), trailing EMA200 (+buffer), lock (after TP1 or ROI ≥X%).
Display: show/hide MAs, candlesticks, tables, TP levels, dynamic exit line.
Anti-repaint: “Confirm on close” (enabled by default).
Alerts Included
Create an alert with "Any alert() function call" to receive messages and CSV:
GOOD BUY (1D Pivot Down)
GOOD SELL (1D Pivot Up)
DCA BUY (Daily)
Partial TP 1 / 2 / 3
DYNAMIC EXIT (Daily) (Trailing/Lock/EMA200)
Best Practices & Limitations
Timeframe: The algorithm is designed for 1D (daily). Signals use confirmed pivots; enable "Confirm at Close" to avoid any ambiguity.
Trend Filter: For long-term spot trading, the Only Bull mode + EMA/RSI filter reduces counter-trend buying.
Position Sizing: Auto DCA is not financial advice—adapt your budget, cooldown, and levels to your risk.
No Guarantees: Markets involve risks. Past performance is no guarantee of future performance.
Who is it for?
Long-term spot investors who want to buy on structured pullbacks (pivots & levels) and exit cleanly.
Users who want to standardize their entries/exits and automatically track their PnL/avg cost.
Getting Started (2 minutes)
Open a 1D asset and add JB Spot LT — Good Buy/Sell + DCA Auto (Daily).
In the inputs:
Choose your marker style and Good Buy/Sell text size.
Set DCA Mode (e.g., Hybrid), budget, cooldown, and thresholds.
Leave "Confirm at close" enabled.
Create an alert "Any alert() function call" (optional: enable CSV Export for your logs).
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com john_boisvert1985.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com john_boisvert1985.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.