Help on script

All posts which do not fit into any other sections of the forum.

Moderator: admin

Help on script

Postby Benj22341 » Wed Feb 10, 2021 3:58 am

Hello,
I want to close all position on one chart when a condition is done.

I have this script to close all position on one chart.

I try to put a condition like If DrawDown == -500 the script will execute his job and close position of this chart.

Exemple : I put the script on my EURUSD chart and when the drawdown on EURUSD is -500€ the script will close all position.

If it can also disable an Expert Advisor on this chart it's good.

Can you help on this ?
Benj22341
 
Posts: 1
Joined: Wed Feb 10, 2021 3:45 am

Re: Help on script

Postby Apprentice » Thu Mar 18, 2021 5:04 am

I have this script to close all position on one chart.

Can you provide the script?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests