Strategy: Discord_prime
Downloaded: 20220726
Stoploss: -0.29

Not Enough Data to display!

Average Overall
Not Enough Data! / Avg statistics not populated yet.
The provided code represents a trading strategy implemented as a class named "prime" that inherits from the "IStrategy" interface. Here's a short description of what the strategy does: The "prime" strategy consists of several functions to populate indicators, customize leverage, and populate entry/exit signals based on technical analysis indicators. The "populate_indicators" function calculates and adds various indicators to the input dataframe, such as pivot points, RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), and stochastic fast.

The "customize_leverage" function customizes the leverage for each new trade based on the proposed leverage, maximum leverage allowed, and trade direction (long or short).

In this case, it always returns a fixed leverage of 10.0.

The "populate_entry_trend" function populates the entry signal in the dataframe based on specific conditions. It checks if the candle is losing, the close price is above the 9-day and 21-day exponential moving averages (EMA), and the volume is not zero. If these conditions are met, it sets the "enter_long" column to 1 for a long trade and "enter_short" column to 1 for a short trade. The "populate_exit_trend" function populates the exit signal in the dataframe. It sets the "exit_long" column to 0 when the volume is zero, indicating an exit signal for a long trade. It sets the "exit_short" column to 1 when the volume is greater than zero, indicating an exit signal for a short trade. Overall, the strategy uses a combination of indicators and conditions to generate entry and exit signals for trading.

stoploss: -0.29
timeframe: 1h
hash(sha256): b9a0242b9f1c64549fd189cd45ecb47b5beaacca5ffc7167d105928a89f54f71
macdsignal volume fastk ema21 rsi
close macd open pivot fastd
macdhist ema9

No similar strategies found. (based on used indicators)

last change: 2023-09-02 02:41:48