Wordcloud
Strategy: MultiMa
Downloaded: 20220112
Stoploss: -0.1
The MultiMa strategy is a trading strategy that uses multiple moving averages (MAs) to generate buy and sell signals. The strategy calculates different MAs based on the specified parameters: buy_ma_count, buy_ma_gap, buy_ma_shift, sell_ma_count, sell_ma_gap, and sell_ma_shift. In the buy trend calculation, the strategy generates a set of buy MAs by iterating over the buy_ma_count parameter.

Each buy MA is calculated using the Simple Moving Average (SMA) function from the TA-Lib library, with a time period determined by the product of (i+1) and buy_ma_gap.

The strategy then checks for a specific condition where each buy MA, shifted by the buy_ma_shift value, is greater than the previous buy MA shifted by the same amount.

If this condition is met, a 'buy' signal is generated for that specific candle. Similarly, in the sell trend calculation, the strategy generates a set of sell MAs using the same logic as the buy trend calculation. The condition for generating a 'sell' signal is when each sell MA, shifted by the sell_ma_shift value, is less than the previous sell MA shifted by the same amount. The strategy also defines a minimal_roi (Return on Investment) table, which specifies the target returns at different stages of the trade. Additionally, a stoploss parameter is set to -0.1, indicating a 10% stop loss. The strategy operates on a 4-hour timeframe (specified by the timeframe parameter) and implements the required methods of the Freqtrade IStrategy interface. The populate_indicators method is used to dynamically generate the required indicators, but it doesn't perform any calculations in this case. Overall, the MultiMa strategy uses a combination of multiple MAs and their relationships to generate buy and sell signals, with predefined ROI targets and a stop loss.

stoploss: -0.1
timeframe: 4h
hash(sha256): 51e8d732b7c839f49405d00df419e6cac07d21380fcef9988807c876f39c76b6
indicators:
buymai1 sellmai1

No similar strategies found. (based on used indicators)

last change: 2024-04-28 08:35:00