Wordcloud
Strategy: OptimalStrategy
Downloaded: 20230323
Stoploss: -0.99
5mFailedSpotv3Link

Strategy failed backtesting!
Reason: Duplicate of E0V1E_16

You will be redirected to the original Strategy in 15 seconds.Redirecting...
The OptimalStrategy class is a trading strategy that uses various indicators to make decisions on when to enter and exit trades. In the populate_indicators method, the strategy calculates and adds several indicators to the DataFrame, such as moving averages (SMA and EMA), commodity channel index (CTI), relative strength index (RSI), exponentially weighted oscillator (EWO), stochastic fast, and Bollinger Bands. The populate_entry_trend method defines the conditions for entering a trade.

It checks multiple conditions based on the indicator values and sets the 'enter_long' flag to 1 if any of the conditions are met.

The populate_exit_trend method sets the 'exit_long' flag to 0 and 'exit_tag' to 'long_out', indicating that the strategy wants to exit any open long trades.

The current_profit method determines the actions to take based on the current profit of a trade. If certain conditions are met, such as reaching a specific profit target or specific indicator values, the method returns a negative value to exit the trade. Otherwise, it returns the predefined stop loss value. The current_profit method in the second part of the code determines the conditions to trigger a sell stop loss for a specific scenario. If the current profit is below a certain threshold and other conditions related to Bollinger Bands, candlestick patterns, and volume are met, it returns the string "sell_stoploss_deadfish". Overall, the OptimalStrategy class combines various indicators and conditions to generate trading signals for entering and exiting trades based on the calculated indicators and current profit.

stoploss: -0.99
timeframe: 5m
hash(sha256): f45d182061fe1a0cc6f251a568f1936164dab4552cd90c29bbaf23a3103d4540

Was not able to fetch indicators from Strategyfile.

last change: 2023-03-23 08:24:25