Simple averaging in

MQL5 Experts Scripts

Tâche terminée

Temps d'exécution 28 jours

Spécifications

just a script wich will scale in in any trade  i enter manually like in the image


i just need the input distance


lets say i am using 1 lot and distance 50 points


after i enter manually a trade (buy in this example but vice versa for a short) the script should put a tp at the green line, a lot of equal size at the red line (50 points down) and a stop loss at the black line (100 points


there are only 3 possibles scenarios. I entered (1 lot)on the yellow line:


1- price first goes to my target (50 points in this example) at the green line and the trade is closed. Both the add/buy at the red line and the stop loss at the black line should not exist now, they shoudl be deleted once the target was reached.The script will do NOTHING more


2- price goes down 50 poins (red line). Then the buy order should be triggered (1 lot) and the tp is moved for the exact point were i made the first entry. Now or this new tp is reached or stop loss is triggered at the black line


3- i manually close the trade and the script recognizes there is no trade opened and so shoul be no orders opened.


i need to see a short video to confirm the script is doing exaclty that with buys and shorts. I use Genial/netting MT5

Dossiers :

Répondu

1
Développeur 1
Évaluation
(24)
Projets
35
11%
Arbitrage
0
En retard
2
6%
Gratuit
2
Développeur 2
Évaluation
(9)
Projets
12
8%
Arbitrage
2
50% / 50%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(11)
Projets
17
59%
Arbitrage
2
0% / 100%
En retard
2
12%
Gratuit

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD