Loading…
Public trading strategy

XRP breaks out with 8% surge — momentum is back for the altcoin

Created

Thesis

XRP just broke above $1.20 with heavy trading volume, which shows strong buyer conviction. When a cryptocurrency breaks out of a long downward slide with this much force, it often signals the start of a new upward trend. With global markets feeling risk-on due to the Iran peace deal, investors are more willing to speculate on altcoins like XRP.

Strategy approach

Build a rule-based strategy that enters long XRPUSDT on the 4-hour timeframe when price closes above the 50-period simple moving average and the MACD histogram flips positive. Exit on a 4% trailing stop.

Markets and timeframes

XRP4H

Entry and exit at a glance

These are the named rules in the shared configuration. Review the full conditions below before using a strategy.

  • Entry: SMA/MACD Crossover Long (XRP@1h) (2 conditions)
  • Exit: Stop Loss at 4.0% (1 condition)
  • Exit: Take Profit at 10.0% (1 condition)

Shared strategy rules

Rule configuration

{
  "data_dependencies": [
    {
      "symbol": "XRP",
      "timeframe": "1h"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "XRP",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "XRP",
              "timeframe": "1h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1",
      "name": "SMA/MACD Crossover Long (XRP@1h)",
      "priority": 1,
      "trade_symbol": "XRP"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -4
          }
        }
      ],
      "enabled": true,
      "id": "stop_loss_1",
      "name": "Stop Loss at 4.0%",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "XRP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 10
          }
        }
      ],
      "enabled": true,
      "id": "take_profit_1",
      "name": "Take Profit at 10.0%",
      "priority": 90,
      "purpose": "take_profit",
      "target_symbol": "XRP"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2,
      "stop_loss_percent": 4,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1h",
  "version": 1
}

Indicator configuration

{
  "indicators": [
    {
      "name": "sma",
      "period": 50
    },
    {
      "fast": 12,
      "name": "macd",
      "signal": 9,
      "slow": 26
    }
  ]
}

Parsed strategy

{
  "data_dependencies": [
    {
      "symbol": "XRP",
      "timeframe": "1h"
    }
  ],
  "entry_rules": [
    {
      "conditions": [
        {
          "left": {
            "field": "close",
            "type": "price"
          },
          "operator": "crossed_above",
          "right": {
            "chart_ref": {
              "symbol": "XRP",
              "timeframe": "1h"
            },
            "indicator": {
              "name": "sma",
              "period": 50
            },
            "type": "indicator"
          }
        },
        {
          "left": {
            "chart_ref": {
              "symbol": "XRP",
              "timeframe": "1h"
            },
            "field": "histogram",
            "indicator": {
              "fast": 12,
              "name": "macd",
              "signal": 9,
              "slow": 26
            },
            "type": "indicator"
          },
          "operator": "crossed_above",
          "right": {
            "type": "constant",
            "value": 0
          }
        }
      ],
      "direction": "long",
      "enabled": true,
      "id": "entry_1",
      "name": "SMA/MACD Crossover Long (XRP@1h)",
      "priority": 1,
      "trade_symbol": "XRP"
    }
  ],
  "exit_rules": [
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "less_than",
          "right": {
            "type": "constant",
            "value": -4
          }
        }
      ],
      "enabled": true,
      "id": "stop_loss_1",
      "name": "Stop Loss at 4.0%",
      "priority": 100,
      "purpose": "stop_loss",
      "target_symbol": "XRP"
    },
    {
      "applies_to": "both",
      "conditions": [
        {
          "left": {
            "field": "unrealized_pnl_percent",
            "type": "position"
          },
          "operator": "greater_than_or_equal",
          "right": {
            "type": "constant",
            "value": 10
          }
        }
      ],
      "enabled": true,
      "id": "take_profit_1",
      "name": "Take Profit at 10.0%",
      "priority": 90,
      "purpose": "take_profit",
      "target_symbol": "XRP"
    }
  ],
  "position_sizing": {
    "max_position_percent": 25,
    "method": {
      "risk_percent": 2,
      "stop_loss_percent": 4,
      "type": "fixed_risk"
    },
    "min_position_value": 100
  },
  "trigger_timeframe": "1h",
  "version": 1
}

Strategy instructions

Trading agent generated from recommendation idea 'XRP breaks out with 8% surge — momentum is back for the altcoin'. Thesis: XRP just broke above $1.20 with heavy trading volume, which shows strong buyer conviction. When a cryptocurrency breaks out of a long downward slide with this much force, it often signals the start of a new upward trend. With global markets feeling risk-on due to the Iran peace deal, investors are more willing to speculate on altcoins like XRP.

Performance

No trade count, win rate, or realized P&L figures are provided in this public preview. The thesis and shared rules do not establish a performance record.

What this public preview can establish

  • The thesis and strategy approach describe a market view. They do not show whether an entry or exit condition is currently met.
  • Technical strategy fields are shared above. Inspect the actual conditions and check when they were evaluated before relying on them.
  • No trade count, win rate, or P&L figure is published in this preview. It cannot establish a performance record.

Explore

How CommonQuant researches and tests strategies · Public paper-trading record and its limits · Discover public strategies