Hello everybody,
I don't know how to code, I need help to code a simple expert adivisor for MT5.
it must be a functional trading robot to trade in demo but also with real money.
The strategy is very simple:
Only 2 indicators: RSI and SMA
Initially, the robot should be set up with an RSI of 2 periods, an oversold level of 10 and an overbought level of 90.
The SMA should be 200 periods.
Here are the rules of the strategy:
Buy when the RSI is below the 10-period RSI level and the price is above the 200-period SMA at candle close.
Close the position when the RSI is above the 70 level at the close of the candle.
Sell when the RSI is above the RSI 90 level and the price is below the SMA 200 at the close of the candle.
Close the position when the RSI is below the RSI 30 level at the close of the candle.
All parameters must be modifiable:
RSI period
The EMA period
RSI level to take a buy
RSI level to close a buy
RSI level to take a sell
The RSI level to close a sell
Buy trades and sell trades must be activatable or deactivatable if I want to do only buys or only sells or both at the same time.
The SMA filter must also be able to be activated and deactivated if I want to trade without this condition.
I also need an option that can be activated and deactivated to place TPs and SLs with a value that I can modify.
Positions settings :
a basic option with fixed lots to be taken by positions that can be modified
The number of allowed tardes in same time
an option that can be activated and deactivated to take position sizes based on a (modifiable) percentage of capital.
an option to prohibit trades based on a certain spread level (modifiable).
The following statistics must also be displayed on the MT5 chart during tests and live trading:
Winrate
Average risk-ratio
number of trades
Profit/loss
Obviously, the robot must be able to operate on all charts and with all time frames.
This is a robot with a very simple strategy, I hope someone can do this for me!
Solicitudes similares
Bonjour, Je recherche un développeur expérimenté en Python + MetaTrader5 pour créer un Bot Scanner. OBJECTIF DU BOT: Scanner n'importe quel graphique MT5 : Forex, Indices Synthétiques, Indices, Actions, Métaux, Crypto. Détecter uniquement des FIGURES CHARTISTES sans indicateur. Envoyer une alerte instantanée sur Telegram ou par mails avec : Paire, Timeframe, Nom de la Figure, fiabilité en % , Capture d'écran du
Je souhaite développer un robot de trading automatique capable de fonctionner uniquement lorsque je suis connecté à mon compte de trading. Le robot devra respecter les règles suivantes : Il peut ouvrir positions que lorsque je suis connecté. Il doit analyser les marchés en temps réel sur les unités de temps M1 (1 minute), M5 (5 minutes) et M15 (15 minutes). Il doit identifier des opportunités d'achat ou de vente en