This repository contains a trading strategy implementation that combines the Relative Strength Index (RSI) and the Simple Moving Average (SMA) indicators. The strategy generates buy and sell signals based on the RSI and SMA values to determine potential entry and exit points in a financial market.
The code is designed to work with MetaTrader 5 (MT5) data and trading platform. It includes functions to calculate RSI, SMA, and a main function to check for trading signals based on the combined RSI and SMA strategy.
- Calculates RSI and SMA indicators for a given symbol and timeframe.
- Generates buy and sell signals based on the RSI and SMA conditions.
- Provides flexibility to adjust RSI and SMA parameters to fit your trading strategy.