Wordcloud
Strategy: Diamond_7
Downloaded: 20220116
Stoploss: -0.271


Not Enough Data to display!

Average Overall
Not Enough Data! / Avg statistics not populated yet.
The Diamond strategy is an implementation of the IStrategy interface. It consists of three main functions: populate_indicators, populate_buy_trend, and populate_sell_trend. In the populate_indicators function, no additional indicators are calculated, and the original dataframe is returned unchanged.

The populate_buy_trend function defines a list of conditions for generating buy signals.

The main condition checks if the value of a fast moving average (defined by self.buy_fast_key) has crossed above the product of a slow moving average (defined by self.buy_slow_key) and a vertical push factor (self.buy_vertical_push).

If the condition is met, a 'buy' signal is generated by setting the corresponding value in the 'buy' column of the dataframe to 1. The populate_sell_trend function is similar to populate_buy_trend but generates sell signals instead. It checks if the value of a fast moving average has crossed below the product of a slow moving average and a vertical push factor. If the condition is met, a 'sell' signal is generated by setting the corresponding value in the 'sell' column of the dataframe to 1. Overall, the Diamond strategy uses moving averages and crossover conditions to generate buy and sell signals based on the provided parameters.

stoploss: -0.271
timeframe: 5m
hash(sha256): 8831713121c0f96d2a8f49a19e3335ccc55c94e08105da906f3bcd6ad6ea9b14

Was not able to fetch indicators from Strategyfile.

last change: 2024-04-28 14:57:17