Closing Trades Scenario
-
Good Day All
Check the following snippet

This EA opened a couple of trades and at some point automatically closed all the trades.
I'm trying to figure out how this was accomplished.
Is there anyone that might be able to help and what I need to do to be able to achieve the same?
-
Can you please share the link to your project?
-
Hi @I'andorra
I, unfortunately, haven't started anything yet, I don't know where to begin
This is basically on synthetic indices, Crash 300 to be more specific. So the price will rise every bar and at some point, it drops (crashes).
It looks like the EA is set to automatically close all trades after a certain condition. There were 6 total trades open and it basically hit the price where the second trade was opened and then closed the trades.@jstap Thanks for your help on my previous question. Was wondering if you maybe had an idea on this one?
-
Ok. That looks like a renko chart, right? Are you using an indicator or a template to get it?