DINEXSPACEXAUUSD SpecialistEAs available to rentCustom EA: Strategy → Code → BacktestView rentable EA bots
CRYPTO HOLDING PROTOCOL · DINEXSPACE

BTC — Hold only above the 120-day average

BTC Trend120 D1

A crypto asset holding protocol with a TradingView indicator, clear signals and backtest figures you can check.

FreeBTCD1 timeframe
SIGNALS

Signal channels

  • Protocol buy/sell signal after candle close.
  • Notice when the protocol changes state (hold / reduce allocation).

Signals are for reference only and are not investment advice.

WEEKLY BACKTEST

Weekly equity curve

Weekly equity curve (backtest)

ProtocolHODL
010020030040050020222023202420252026Test period starts

Backtest results, not investment advice.

BACKTEST DATA

Performance and risk

Figures come straight from the protocol content set. Past values are for reference only.

Test (2024→now)

Annual return27.0%HODL: 24.1%
Max drawdown−29.1%HODL: −53.0%
Calmar0.93HODL: 0.46

Asset growth

ProtocolHODL
010020030040050020222023202420252026

Asset index normalized from backtest data.

Drawdown from peak

ProtocolHODL
−80%−60%−40%−20%0%20222023202420252026
PROTOCOL DOCUMENT

Rules and how it works

DinexSpace | BTC — Hold only when price is above the 120-day average

Technical name: BTC Trend120 D1

Summary

Hold BTC when the daily close is above the 120-day moving average; stay out in USDT when it is below.

  • Product: BINANCE:BTCUSDT Spot, D1 timeframe, no leverage.

Protocol rules

  • SMA120 = average Close of 120 D1 candles (including the candle that just closed).
  • MUA (BUY): D1 Close > SMA120 → 100% BTC.
  • BÁN (SELL): D1 Close ≤ SMA120 → 0% BTC (hold USDT). No Core.
  • In essence: returns close to HODL, but with only about half the drawdown.

Backtest results

PeriodAnnual returnMax drawdownCalmarWorst 12 monthsvs HODLHODL: Annual return / drawdown% of 12M windows beating HODL
TEST 2024-01 → 2026-0827.0%-29.1%0.93-22.8%1.11×24.1% / -53.0%45.0%
2022-01 → 2026-0831.0%-29.1%1.06-22.8%2.14×11.3% / -66.9%36.4%

The "gold 0%" scenario does not apply to this product (it contains no gold).

Setup on TradingView

Desktop

  1. Open the BINANCE:BTCUSDT chart and select the 1D timeframe (1 day).
  2. Open Pine Editor, delete the template content, paste your full DinexSpace Pine code → Save → Add to chart.
  3. Open the indicator's Settings → enter your actual balance (coin + USDT) and your total net deposits.
  4. In the "Hiển thị" (Display) section: choose Đầy đủ (máy tính) (Full, desktop) mode and turn each table on/off as needed.

Mobile

  1. The TradingView app cannot edit Pine: do steps 1–2 on a desktop first (the indicator is saved to your account).
  2. In the app: open the BINANCE:BTCUSDT chart → Indicators → My scripts → select the DinexSpace indicator.
  3. Settings → Gọn (điện thoại) (Compact, mobile) mode.

Notifications

The indicator sends a notification each time a D1 candle closes (07:00 Vietnam time). To create an alert: Alert → Condition: select the DinexSpace indicator → "Any alert() function call" → Create.

  • Via the TradingView app (simplest): leave the "Mã DinexSpace Relay" (DinexSpace Relay code) field empty. You receive text notifications (status, price levels, the order to place) in the TradingView app/email.
  • Via DinexSpace Relay: paste the "Mã DinexSpace Relay" (DinexSpace Relay code) (found in your DinexSpace account) into Settings. In the alert, enable Webhook and paste the webhook address shown in your DinexSpace account (webhooks require a paid TradingView plan). The indicator sends JSON {"src":"DinexSpace","v":1,"key","user","prod","sig","act","qty","px","stop"}.
  • Quantities in notifications are calculated from the balance entered at the time the alert is created. Change the balance → create the alert again.

Daily routine

  • After 07:00 Vietnam time (the D1 candle has just closed), open the chart or read the notification.
  • Label/table shows GIỮ NGUYÊN (HOLD) → do nothing. Shows MUA/BÁN x (BUY/SELL x) → follow the order execution steps below.

Order execution

  • MUA (BUY): place it right after the D1 candle closes (07:00 Vietnam time), as a market order or a limit order close to the price — do not wait for a pullback.
  • BÁN (SELL): place a limit order about 0.25% above the 07:00 open price; if it is not filled after 4 hours, sell at market.
  • Once filled → update the balance in the indicator's Settings so the next day's order is calculated correctly.

Rebalancing and adding capital

  • Add capital at any time: update the balance → the indicator allocates immediately according to the current state (IN → 100% BTC, OUT → 0%).
  • The indicator signals a rebalance when the balance deviates from the protocol weight by more than 1% of allocated capital.

Risks

  • The backtest uses historical Binance data, with fees + slippage of 0.15%/trade (PAXG 0.25%). Future markets may differ.
  • A trend-following protocol will have many small losing trades when the market moves sideways; returns come from a few large trend moves.
  • The max drawdown in the results table may be exceeded in the future.
  • Exchange risk, PAXG issuer risk, and the risk of you executing late or with an incorrect balance.

Disclaimer

This document is a backtest result on historical data, not investment advice. Past results do not guarantee future results. Cryptocurrencies and gold can fall sharply; you are solely responsible for your decisions and your account. DinexSpace does not hold funds and does not place orders on your behalf unless you configure the Relay service yourself.

GET STARTED

Install the indicator on TradingView

  1. Open Pine Editor in TradingView.
  2. Paste the Pine code you received.
  3. Choose Save, then Add to chart.
  4. Open Settings to choose a configuration and enter your balance.
PERSONALIZED PINE CODE

Ready to follow the protocol?

Get the Pine code made for your account and install it on TradingView.