need advice from a trawl pro that controls two positions independently of each other, how can it be implemented? - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
a maximum of 8 positions
For each position, you will need a separate variable for the value, for the trawl and for the majiks
How would it look in the code?
Why do you need a unique number for a majik, isn't it enough?
So it is assumed that you have at least 8 different settings for a trawl? And what criteria are used to determine which newly opened position a particular setting should be applied to?
max 8, I tried it with the ticket, the ticket is different for everyone
for the trawl one setting for all 50 points
How would it look in the code?
Why do you need it for majik? Isn't the ticket a unique number?
It wouldn't look that good.
If we use one majik for every position, it will be the same for all positions.
If you take a ticket, how will the trawl know it's his position, or if the position closes and a new one opens?
8 at the most, I tried the ticket, everyone's ticket is different
The first position opened, how does Expert Advisor know which parameters should be applied to it?
The second position has opened; how does the Expert Advisor know what parameters should be applied to it? Why aren't they the same as those of the first position? What does it depend on?
The third position opened...
And so on.
And only then, how to implement it.
charony:
max 8, I tried by ticket, ticket is different for everyone
for trawl one setting for all 50 points
so what's the problem?
for each position a separate trail or for all positions one trail (trail of the same size)?
ZS: if the second, there is an example in the standard MACD_Simple Expert Advisor
or if the position closes and a new one opens?
the ticket will be different
Slowly and word by word...
The first position is opened, how does Expert Advisor know what parameters should be applied to it?
The second position has opened; how does the Expert Advisor know what parameters should be applied to it? Why aren't they the same as those of the first position? What does it depend on?
The third position opened...
And so on.
And only then, how to implement it.
I have explained to all positions 50 points of trawl