[REQUEST] EA to close open orders of the user-defined pairs only, at a user-defined time of the day

MPTM's new home
Post Reply
K-Lander
Trader
Posts: 35
Joined: Thu Nov 17, 2011 9:03 pm
Location: Buenos Aires, Argentina

[REQUEST] EA to close open orders of the user-defined pairs only, at a user-defined time of the day

Post by K-Lander »

Cheers all,
Context: I´m doing some research on certain commodities (Corn, Soybean, Cotton and others) on D1 and need to close any open trades of a given pair at a time of day specific for each pair. Different commodities have different daytrading-stop times, hence the catch. Found some "close-all" EAs but none fitting my needs, and my coding skills aren´t good enough to hack them, so here is what I need:

The EA should close all open trades (no need to worry about pending orders) of the user-defined pairs only, at a user-defined time of day.

I think I should use one instance of the EA for each different closing time, while one EA should be able to manage all the pairs with the same closing time.

I have an old version of MPTM with that feature but for some reason it doesn´t work.

Many thanks in advance.

K
Post Reply

Return to “Utilities Indicators and Scripts”