Simple averaging in

MQL5 전문가 스크립트

작업 종료됨

실행 시간 28 일

명시

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

파일:

응답함

1
개발자 1
등급
(24)
프로젝트
35
11%
중재
0
기한 초과
2
6%
무료
2
개발자 2
등급
(9)
프로젝트
12
8%
중재
2
50% / 50%
기한 초과
0
무료
3
개발자 3
등급
(11)
프로젝트
17
59%
중재
2
0% / 100%
기한 초과
2
12%
무료

프로젝트 정보

예산
30+ USD
개발자에게
27 USD