The "InformativeSample" strategy is a sample implementation that compares a stake currency with USDT (Tether) to determine buy and sell signals. It is designed for backtesting trading strategies on a website. The strategy uses various technical analysis indicators to make decisions.
It calculates exponential moving averages (EMA) with different time periods (20, 50, and 100) to identify trends.
Additionally, it calculates the simple moving average (SMA) with a 20-period for the stake currency/USDT pair.
To generate buy signals, the strategy checks if the EMA20 is above EMA50 and if the stake currency/USDT price is above the SMA20. To generate sell signals, the strategy checks if the EMA20 is below EMA50 and if the stake currency/USDT price is below the SMA20. The strategy defines a minimal return on investment (ROI) and a stop loss. It also specifies the ticker interval as 5 minutes. There is an option for a trailing stop loss, but it is currently disabled in this strategy. The strategy can populate additional informative pairs, such as stake_currency/USDT, for data comparison and analysis. Overall, this strategy serves as an example of how to implement a referential pair against USDT and utilize technical indicators for trading decisions.