Guide
How does the Lorentzian Classification Strategy strategy work ?
The Lorentzian Classification Strategy leverages machine learning to identify optimal entry points in trending markets. It incorporates the Lorentzian Classification indicator, a 200-period EMA, and the Supertrend indicator along with an ATR-based stop loss to establish trade conditions.
- For long positions, the strategy requires the closing price to be above the 200 EMA and the Lorentzian Classification to signal a buy. The ATR stop loss sets the stop loss level, while a 1:1 risk/reward ratio determines the break-even point. Profits are partially taken at a ratio of 3:1, with the remaining position closed when a sell signal is indicated by either the Lorentzian model or the Supertrend.
- For short positions, the strategy looks for the closing price to be below the 200 EMA and a sell signal from the Lorentzian Classification. A similar stop loss, break-even, and profit-taking structure to the long positions are used here.
Risk management is integral to the strategy, with position sizing calculated as a percentage of the total account to maintain a consistent risk profile. The strategy's script provides settings to adjust risk management parameters and tools to simulate various backtesting scenarios with options to factor in account changes such as deposits and withdrawals.
- It is essential to adjust the backtesting settings to account for realistic trading conditions like commissions and slippage.
- The script also allows for leverage settings to be applied in risk management for more accurate backtesting results.
This strategy has been backtested on various assets, including BTCUSD, ETHUSD, BNBUSD, SPX, and BANKNIFTY across different timeframes, adapting to each asset's volatility.