4 Objects Trade in the same EA ?
I recommend you try yourself before asking question.
Hi Alain Verleyen
Thank you for your feedback, I've already tried it and I've got a code that runs very well, in which I use a single instantiation of the Class CTrade,
Thank you for your feedback, I've already tried it and I've got a code that runs very well, in which I use a single instantiation of the Class CTrade,
for the moment I don't have any problems, but I'm wondering about the day when I'll have orders waiting to be opened that have been instantiated with an object and if at the same time I have to do something else with the same object,
won't I get confused with the return codes of ResultRetcode() functions, for example?
Best Reguards 😊
Best Reguards 😊
I've just got my answer, you just need to get the ResultRetcode() codes right away.
Hi everyone,
In the same I want to :
- Buy Limit( BuyLimit )
- Buy Market ( Buy )
- Sell Limit ( BuyLimit )
- Sell Market ( SellLimit )
Would you recommend creating 4 instantiations of the CTrade class? To better manage the different methods and avoid confusion?
What do you recommend?
Best Reguards,
ZeroCafeine.