Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@alex222 That image is not clear enough. Can you please share the link to your project?
M
@alex222 I don't know php, but for good or bad,the programming languages are similar in some ways. Having taken the 2 input variables, you must first cycle the array with a For loop and compare its contents. My knowledge goes no further.
D
@l-andorrà said in As I calculate the exact price with the profit at 0, having many open positions with different sizes?:
Those blocks are the ones for mq4.
ok, in fact it seemed to me precisely for mq4, now I try to load in on init, perhaps on tick it doesn't work with mq4, thanks
@alex222 Then you shpuld create groups. You can always provide different management conditions for different trade groups:
https://fxdreema.com/instructions/builder/groups-and-magic-numbers
I thought it was the best solution ... thanks for the answer