Wordcloud
Strategy: yoyo_action_strategy_102
Downloaded: 20220326
Stoploss: -0.2


Not Enough Data to display!

Average Overall
Not Enough Data! / Avg statistics not populated yet.
The YoyoActionStrategy is a trading strategy implemented as a class that inherits from the IStrategy interface. Here's a description of what the strategy does: The strategy begins by populating various indicators based on the input dataframe, including: 'ohlc4': Calculating the average of the open, high, low, and close prices. 'ema_fast': Calculating the Exponential Moving Average (EMA) with a user-defined fast period.

'ema_slow': Calculating the Exponential Moving Average (EMA) with a user-defined slow period.

'rsi': Calculating the Relative Strength Index (RSI) with a user-defined period.

'macd': Calculating the Moving Average Convergence Divergence (MACD) by subtracting the fast EMA from the slow EMA. 'bullish' and 'bearish': Identifying bullish and bearish conditions based on the MACD values. Next, the strategy sets up stop-loss levels ('sl1' and 'sl2') based on the Average True Range (ATR) multiplied by user-defined factors. It then removes rows with missing values. The strategy defines various boolean columns for different states and signals, such as 'green', 'blue', 'yellow', 'brown', 'red', 'long', 'preBuy', 'short', 'preSell', 'trail2', 'greenLine', 'greenLine_last', 'short_last', 'green_last', 'red_last', and 'hold_state'. For each index in the dataframe, the strategy assigns values to these boolean columns based on specific conditions and calculations involving the indicators and previous values. These conditions determine the state of the strategy at each index and help generate buy and sell signals. After setting up these boolean columns, the strategy drops rows with missing values and continues with the remaining dataframe. Next, the strategy defines the 'signal_buy' and 'signal_sell' columns based on specific conditions. The 'signal_buy' column is set to True when there is a green buy signal or when the price crosses above the trailing stop loss (green line) and turns blue. The 'signal_sell' column is set to True when there is a red sell signal or when the green line is crossed below and turns false. Finally, the strategy populates the 'buy' and 'sell' columns in the dataframe based on the 'signal_buy' and 'signal_sell' values, respectively. Overall, the YoyoActionStrategy uses a combination of indicators, conditions, and trailing stop losses to generate buy and sell signals for trading.

stoploss: -0.2
timeframe: 4h
hash(sha256): 36d7e1dd8c1793a8f726337b1ced6cd67762d46e7e251d5b6f1f2e1d2f9d33c0
indicators:
ohlc4 long close preSell brown
bearish trail2 signal_sell preBuy open
ema_fast red high sl1 sl2
blue short yellow macd green
red_last bullish greenLine_last green_last rsi
greenLine ema_slow short_last hold_state low
signal_buy

Similar Strategies: (based on used indicators)

Strategy: yoyo, Similarity Score: 96.88%
Strategy: yoyo_action_strategy, Similarity Score: 96.88%
Strategy: yoyo_action_strategy_8, Similarity Score: 96.88%
Strategy: yoyo_action_strategy_v0_1, Similarity Score: 96.88%

last change: 2024-05-02 11:17:21