Strategy: Discord_test_ema2
Downloaded: 20220727
Stoploss: -0.1

Not Enough Data to display!

Average Overall
Not Enough Data! / Avg statistics not populated yet.
The "test_ema2" strategy is a backtesting strategy that uses Exponential Moving Average (EMA) and Moving Average Convergence Divergence (MACD) indicators to make buy and sell decisions in a trading market. Here's a breakdown of what the strategy does: It sets the minimal return on investment (ROI) to 1, indicating that the strategy aims to make a profit of at least 1 unit of the trading currency. It sets the stop loss percentage to -0.1, which means that if the price of the asset drops by 0.1% from the entry point, the strategy will exit the trade to limit losses.

The strategy operates on a 5-minute timeframe, meaning it analyzes price data in 5-minute intervals.

It defines two variables, "ma_period" and "history_1", both set to 50.

These variables determine the period length for the moving averages and the historical data used for calculations. The strategy populates indicators using the provided dataframe and metadata. It creates a copy of the dataframe and selects a subset of data based on the history length and moving average period. It calculates the MACD histogram and EMA values for the selected data. It assigns the calculated values to corresponding columns in the dataframe. It repeats the same process for a second set of data using a different history length ("history_2"). It prints the pair being analyzed, the number of candles in each dataset, and the contents of the datasets. (Optional) It can save the test data to CSV files. The strategy populates the buy trend by identifying specific conditions in the dataframe where a buy signal is triggered. However, the specific conditions are not defined in the provided code, as the relevant section is left empty. The strategy populates the sell trend by identifying specific conditions in the dataframe where a sell signal is triggered. Similar to the buy trend, the specific conditions are not defined in the provided code. Overall, the strategy calculates EMA and MACD indicators for two different subsets of historical data and uses these indicators to determine when to buy and sell assets. However, the exact buy and sell conditions are not specified in the given code, and additional logic needs to be added to the empty sections of the "populate_buy_trend" and "populate_sell_trend" functions.

stoploss: -0.1
timeframe: 5m
hash(sha256): 96e7017a224a2128cb794463c40b9e63950775abe979a126ffffd75292c422b3
macdhist ema close sma

No similar strategies found. (based on used indicators)

last change: 2023-07-02 07:42:35