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
Solicitudes similares
Instrument : GER40.x uniquement Plateforme : MetaTrader 5 Compte : prop firm Logique de la stratégie : Analyse à 9h Identification de la liquidité présente côté haut ou côté bas Utilisation des niveaux BSL / SSL, PDH / PDL, Support / Résistance Détermination de la position du Pivot par rapport à l’Asian Box Pivot IN → scénario Reversal Pivot OUT → scénario Break Deux scénarios principaux : Liquidité basse → objectif
MISE À JOUR FINALE DU PROJET Merci d’ignorer tous les anciens fichiers et messages concernant le périmètre. Le nouveau cahier des charges final comprend MT5 + MT4, 3 moteurs uniquement : Momentum/Micro-breakout, FVG, Range/Mean Reversion, utilisation simultanée possible, installations multiples et licence/utilisation perpétuelle sans verrouillage. Merci de baser votre prix et délai uniquement sur le nouveau fichier
Je souhaite développer un robot de trading automatique avec les exigences suivantes : 1. Marchés : principalement XAUUSD (Gold), avec possibilité d’ajouter EURUSD par la suite. 2. Plateforme : MetaTrader 5 (MT5). 3. Type de trading : le robot doit pouvoir ouvrir automatiquement des positions BUY et SELL selon les conditions de la stratégie. 4. Analyse : utiliser la tendance, les supports/résistances et les
Je veux un bot qui achèteras et vendras au moment précis( qu’il trouvera bon) pour me permettre de miser peu et d’avoir plus gains.j’ai joins deux images prenez exemple sur la vente pour pouvoir améliorer le bot et j’aimerais qu’il soit facile à manier que même en dormons il ouvre des ordres et les fermes avant les pertes