BTC 1D InOut EMA (WF + Optimizer Ready, Long-Only)

What it is
Daily BTC trend strategy that beat buy‑and‑hold over full history with much shallower drawdowns. It includes walk‑forward windows, optimizer‑friendly inputs, realistic costs, and alert‑ready entries/exits.
Defaults
Fast EMA 13, Slow EMA 90, Exit threshold 1.5, Squeeze = Sqz Off only, Trend filter ON (EMA 100), Trailing OFF.
Execution: commission 0.06% per side, slippage 0–1 ticks, quantity % of equity, pyramiding 0.
How to use
Add to a BTC 1‑Day chart (e.g., BLX / INDEX:BTCUSD for full history; BYBIT:BTCUSDT.P or BINANCE:BTCUSDT.P for live).
Set alerts → Condition: this strategy → Order fills only → Once per bar close.
Walk‑forward modes let you test IS/OOS windows before reverting to “Whole Chart” for live alerts.
Risk
This is educational software, not investment advice. Past performance (simulated or live) does not guarantee future results. Trend strategies still incur drawdowns; size positions responsibly.
Contact / Docs
Docs: docs.google.com/document/d/1a4DluLLgk5Vcn7jUqEZYZdA-0lWGvwBdQW_2HRMhIlg/edit?usp=sharing• Support: grantlyt58+support@gmail.com
Tags: BTC, BTCUSD, Bitcoin, EMA, trend, strategy, long‑only, walk‑forward
What it is
Daily BTC trend strategy designed to outperform buy‑and‑hold with shallower drawdowns. It includes walk‑forward sample windows, optimizer‑friendly inputs, realistic execution costs, and alert‑ready entries/exits.
How to use
1) Add to a BTC 1‑Day chart.
• Full history: BLX or INDEX:BTCUSD
• Live/tradable: BYBIT:BTCUSDT.P or BINANCE:BTCUSDT.P
2) Alerts: Condition = this strategy → “Order fills only” → “Once per bar close”.
3) Walk‑forward: Use the built‑in WF windows for IS/OOS testing. For live alerts, switch back to “Whole Chart”.
Defaults (robust starting set)
• Fast EMA 13, Slow EMA 90, Trend EMA 100
• Exit threshold 1.5 (sensitivity)
• Squeeze filter = “Sqz Off only”; Trend filter ON (close > Trend EMA)
• ADX filter OFF by default (DI 14, Smoothing 14, Threshold 20 available)
• Risk controls OFF by default (Stop, Trailing, Time‑exit)
• Execution realism: commission 0.06% per side, slippage 0–1 ticks, quantity = % of equity, pyramiding 0
Optimizer & selection guidance
• Sweep the input ranges with Strategy Optimizer (or manual grids), then select sets that pass:
– Max drawdown ≤ 35%
– Profit factor ≥ 1.4
– Closed trades ≥ 30 in‑sample
– Sharpe ≥ 0.8 (soft)
• Re‑test shortlisted sets on BYBIT:BTCUSDT.P (or BINANCE:BTCUSDT.P) to confirm they persist on a tradable market.
• The on‑chart metrics table shows Net %, Max DD %, PF, trades, and Sharpe with simple pass/fail flags for quick screening.
Notes
• Use 1‑Day timeframe only.
• Buy & Hold overlay in Strategy Tester is useful for context (set to Percentage view).
• This script is long‑only by default; short logic is present but disabled.
Docs & support
Docs: docs.google.com/document/d/1a4DluLLgk5Vcn7jUqEZYZdA-0lVGvwBdQW_2HRMhIlg/view?usp=sharing
Support: grantlyt58+support@gmail.com
Access (invite‑only)
DM your TradingView username + email. Access is usually granted after review.
Risk disclosure
Educational software; not investment advice. Past performance (simulated or live) does not guarantee future results. Trend strategies can still incur material drawdowns; size positions responsibly.
Last update
v1.0.2 — Chart preview refreshed; documentation link confirmed; no logic changes.
What it is
Daily BTC trend strategy designed to outperform buy‑and‑hold with shallower drawdowns. It includes walk‑forward sample windows, optimizer‑friendly inputs, realistic execution costs, and alert‑ready entries/exits.
How to use
1) Add to a BTC 1‑Day chart.
• Full history: BLX or INDEX:BTCUSD
• Live/tradable: BYBIT:BTCUSDT.P or BINANCE:BTCUSDT.P
2) Alerts: Condition = this strategy → “Order fills only” → “Once per bar close”.
3) Walk‑forward: Use the built‑in WF windows for IS/OOS testing. For live alerts, switch back to “Whole Chart”.
Defaults (robust starting set)
• Fast EMA 13, Slow EMA 90, Trend EMA 100
• Exit threshold 1.5 (sensitivity)
• Squeeze filter = “Sqz Off only”; Trend filter ON (close > Trend EMA)
• ADX filter OFF by default (DI 14, Smoothing 14, Threshold 20 available)
• Risk controls OFF by default (Stop, Trailing, Time‑exit)
• Execution realism: commission 0.06% per side, slippage 0–1 ticks, quantity = % of equity, pyramiding 0
Optimizer & selection guidance
• Sweep the input ranges with Strategy Optimizer (or manual grids), then select sets that pass:
– Max drawdown ≤ 35%
– Profit factor ≥ 1.4
– Closed trades ≥ 30 in‑sample
– Sharpe ≥ 0.8 (soft)
• Re‑test shortlisted sets on BYBIT:BTCUSDT.P (or BINANCE:BTCUSDT.P) to confirm they persist on a tradable market.
• The on‑chart metrics table shows Net %, Max DD %, PF, trades, and Sharpe with simple pass/fail flags for quick screening.
Notes
• Use 1‑Day timeframe only.
• Buy & Hold overlay in Strategy Tester is useful for context (set to Percentage view).
• This script is long‑only by default; short logic is present but disabled.
Docs & support
Docs: docs.google.com/document/d/1a4DluLLgk5Vcn7jUqEZYZdA-0lVGvwBdQW_2HRMhIlg/view?usp=sharing
Support: grantlyt58+support@gmail.com
Access (invite‑only)
DM your TradingView username + email. Access is usually granted after review.
Risk disclosure
Educational software; not investment advice. Past performance (simulated or live) does not guarantee future results. Trend strategies can still incur material drawdowns; size positions responsibly.
Last update
v1.0.2 — Chart preview refreshed; documentation link confirmed; no logic changes.
v1.0.3 — Chart cleaned (one strategy only); status line shortened; no logic changes.
What it is
Daily BTC trend strategy designed to keep you on the right side of major moves with materially shallower drawdowns than buy‑and‑hold. It includes walk‑forward windows, optimizer‑friendly inputs, realistic costs, optional risk controls, and alert‑ready entries/exits.
Defaults (can be tuned)
Fast EMA 13, Slow EMA 90, Exit threshold 1.5
Squeeze filter = Off only (optional BB/KC), Trend filter = On (EMA 100), Trailing = Off
Execution realism: commission 0.06% per side, slippage 0–1 ticks, % of equity sizing, pyramiding 0
How to use
Add to a BTC 1‑Day chart. For full history use BLX or INDEX:BTCUSD; for live trading use BYBIT:BTCUSDT.P or BINANCE:BTCUSDT.P.
Choose a Walk‑Forward window for research (WF1/2/3 or Custom). Switch to Whole Chart for alerts.
Alerts: Condition → This strategy → Order fills only → Once per bar close.
Optional: enable ADX/BB/KC filters, Stop‑Loss %, Trailing %, or Time‑Exit (bars).
Tradable market (Binance perpetual) – 2019 → present
• Rewrote Description for clarity and professionalism.
• Added purchase/activation steps in “Author’s instructions”.
• No logic changes; defaults and alert guidance unchanged.
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ grantlyt58 โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ grantlyt58 โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา