How to remove an EA on the chart?
3 replies
Green Dhal
3 years ago #269270
Dear,
I want to remove an EA automatically after executing some actions. e.g. After closing all position, the EA should be erased from the chart. How to do it in Algowizard cloud?
Or can I initialize the EA set after executing some actions?
tomas262
3 years ago #269278
Hello,
so you need one time action only?
You can do it simply by setting up a variable. Once you load the EA it is set to 1 for example
Then you can setup a condition like if a position is open AND variable == 1 then close position and set variable to 0
Using this the EA will become inactive for further operations
Green Dhal
3 years ago #269280
I understand it. Quite easy. It seems like magic. Thank you so much.
Alex Atkinson
2 years ago #271362
Thank you for the advice, I hope it helps me
Viewing 3 replies - 1 through 3 (of 3 total)