All indicators

MACD 50x Leveraged Long Strategy Results with Real Equity

Dec 13, 2020

Static chart image
SignalsLiquidationMoving Averages

The MACD 50x Leveraged Long Strategy Results with Real Equity indicator provides a simulation of high-leverage trading performance by tracking account equity based on MACD crossovers. It specifically models the impact of 50x leverage on a long-only strategy, accounting for liquidation risks and net capital changes.

Usage

This tool is designed to visualize the risk associated with high-leverage trading. Users can observe how a standard MACD crossover strategy performs when subjected to strict margin requirements and potential liquidation points.

  • Long Entry: Triggered when the MACD line crosses above the signal line.
  • Long Exit: Triggered when the MACD line crosses below the signal line.
  • Liquidation Simulation: A 2% price drop from the entry level results in a complete loss of the allocated position size, simulating the 50x leverage liquidation point.
  • Equity Tracking: The "Net Capital" plot displays the simulated account balance, showing the cumulative effect of gains and total losses.

Details

The strategy calculates equity by evaluating the percentage change between entry and exit prices. Because it uses 50x leverage, a price movement of 2% against the position results in a 100% loss of the margin used for that trade. The script accounts for this "real equity" movement rather than just basic percentage points, providing a more realistic view of how high leverage can lead to account depletion even with a positive win rate on paper.

Settings

Date Range

  • From Year/Month/Day: Sets the starting point for the backtest simulation.
  • To Year/Month/Day: Sets the ending point for the backtest simulation.

MACD Parameters

  • MACD Fast Length: The period for the fast exponential moving average (default is 12).
  • MACD Slow Length: The period for the slow exponential moving average (default is 26).
  • MACD Signal Length: The period for the signal line smoothing (default is 9).

FAQ

How do I interpret the Net Capital plot?

The Net Capital plot shows your remaining balance starting from an initial 100 units. If the plot hits zero, it indicates that the simulated account has been liquidated due to successive or significant losses at 50x leverage.

Can I use this for Short positions?

No, this specific version is configured strictly for Long direction simulations to demonstrate the impact of leverage on upward trend-following entries.

How can I access MACD 50x Leveraged Long Strategy Results with Real Equity?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.