Request - close order ea based on duration
wah_castle:
Does anybody has a EA which can close the open position based on the duration? For example, it will close the open position which is opened for 2 hours? Thanks a lot.
Does anybody has a EA which can close the open position based on the duration? For example, it will close the open position which is opened for 2 hours? Thanks a lot.
Here is a script that should do what you need
Files:
mladen:
Here is a script that should do what you need
Here is a script that should do what you need
Thanks a lot.
It is script, not EA, right?
wah_castle:
Thanks a lot. It is script, not EA, right?
Thanks a lot. It is script, not EA, right?
Yes
But you can easily use it as an EA too. Simply copy it to the EA folder and it will work as an EA too without any change in the code (it is a kind of a chameleon
)
Does anybody has a EA which can close the open position based on the duration? For example, it will close the open position which is opened for 2 hours?
Thanks a lot.