Hello,
I would like to create a martingal bot, I made a correct script but, the bot doesn't renitialize its lot when it hits the take profit.
Specfication:
The bot must trade from 7am to 10pm.
Open only one position at a time
take profit at 50 pips, stop loss at 25 pips, must be modifiable.
If the position is closed at stop loss, it opens a new position in the opposite direction and the lot is doubled;
if the position is closed with a take profit, the bot opens a new position in the opposite direction and the lot is reset to the initial lot.
Example: The first position is long (buy), the initial lot is 0.01, the trade hits the stop loss, the bot opens a new trade but in a short position (sell), and the lot is multiplied by 2 so the next lot is 0.02, then the bot hits the take profit, so it renitialises the lot to 0.01 in the new long position (buy).
I'd like to have as inputs: trading time/ initial lot/ take profit/ stop loss
Additional option: If it's possible, the bot can analyse the tandance on the chart and open its first trade in that tandance. adapt the initial lot as the account grows.
the attached document is the first script of this bot (TX8)
reverse position is correct
entry time is correct
tp and sl input is correct
double and lot initialisation have a problem
and there are bugs, which is probably the fault of the distribution
Ähnliche Aufträge
J'ai actuellement une stratégie qui fonctionne sur TradingView que je voudrais utiliser sur la plateforme MT5. La stratégie est très simple : - entrée en position à la cassure en clôture du Supertrend - sortie de position dans les cas suivants : - SL touché (SL fixe définit au moment de l'entrée en position) - TP touché (TP fixe définit au moment de l'entrée en position) - Supertrend cassé en clôture Si un
Bonjour, Je recherche un développeur MQL5 pour créer un Expert Advisor sur MetaTrader 5 destiné au trading de XRP (crypto). Le but est de développer un robot automatique simple, stable et propre, destiné à un usage sérieux. Il ne doit contenir aucune martingale, aucun grid et aucune logique cachée. Le projet correspond à un MVP avec un budget limité compris entre 300 et 450 USD. Le robot devra fonctionner sur MT5
Spécifiez vos exigences de spécification ici point par point. Essayez de décrire vos besoins de manière brève et claire, afin que votre développeur potentiel soit en mesure d'évaluer correctement sa complexité et son coût, ainsi que le temps d'exécution requis. Une mauvaise description ou une description trop générique aura pour conséquence un manque d’intérêt pour votre commande, ou que vous passerez beaucoup de
Un développeur m'a fait un EA sur la base de l'opr, il a ajouté un calcul de lot qui marche en backtest mais pas en réel, en reel les lots sont /100 est-ce que quelqu'un peut m'aider merci. Ajout supplémentaire je veux que mon SL se déplace une fois la bougie terminée si elle a pris l'ordre