The Schism strategy is a trading strategy that involves the use of various indicators to generate buy and sell signals. Here is a breakdown of its main components:
Indicator Population:
The strategy populates several indicators on the given dataframe, including RMI (Relative Momentum Index), ROC (Rate of Change), and RSI (Relative Strength Index) for different time periods. It also retrieves additional indicator data for informative pairs and calculates their RSI, 1-day high, 3-day low, and average daily range (ADR).
Buy Trigger Signals:
The strategy defines conditions for generating buy signals.
If there is an active trade, it checks for certain criteria such as the current profit, RMI trend, and specific profit factor.
If there is no active trade, it checks for conditions including price, RSI, RMI trend, and momentum to trigger a new buy signal. Additional conditions related to stake currency, fiat currency, and volume may apply. Sell Trigger Signals:
The strategy defines conditions for generating sell signals. If there is an active trade, it checks for criteria such as the current profit, loss cutoff, RMI trend, and volume to trigger a sell signal. If there are other trades, it considers factors like average other profit and the number of free slots to determine whether to sell. Conditions related to volume may also apply. Custom Methods:
The strategy includes some custom methods and calculations. It keeps track of trade-specific data such as active trades, open minutes, current profit, peak profit, and open candles. It retrieves information about other open trades and calculates their profits. Overall, the Schism strategy combines various indicators and conditions to generate buy and sell signals based on the market conditions and trade-specific parameters.