I shouldn’t have deleted the topic. Still can’t handle it. There are 2 parabolic indicators, for each you need to go both long and short, as a result of 4 calls. To correctly implement this, you need MagicNumber. I found an article on mql4, but there is a bit of divergent syntax already. Can you please give a simple example of this implementation?
As I see it:
1. 4 entry conditions, each indicator has its own magic.
2. 4 exit conditions, if the condition worked-close the position with such and such magic.
As I understand it, there is no magic-related function in the ready-made Trade library. Thus, it is necessary to go out precisely to find your position among the open ones with magic.
Thank you in advance.
alexeyvik
Bad search. However, I think that two magicians will be enough. 4 conditions, this is 2 buy and 2 sell total 1 magic on one buy and sell and 1 on the second buy and sell.