Add Volume to the manualy opend trade
-
@roar or someone who is able to help me.
As always, while waiting for a response or even before asking for a help, I try to come up with something myself, but this time I hit a wall.
After a whole day of trying with various block configurations, I ended up with something like this:https://fxdreema.com/shared/TPlCVh63
but of course, it doesn't work.
I kindly ask for help in solving this problem because I've run out of ideas -
@Archer You can store the ticket number and open price of the manually open trade into variables and later compare the information to any other trade with a different ticket number in order to find that distance.
-
Thank you for the tips @l-andorrà
I followed your solution from this topic:https://fxdreema.com/forum/topic/16208/am-i-missing-something
and did something like this:
https://fxdreema.com/shared/CkZWYHI0c
but it still doesn't calculate the distance from the first open position; it calculates it based on the most recently opened one.
In the meantime, I also did something like this:
https://fxdreema.com/shared/EdbAVEime
to try a different approach and test how EA will react, but it doesn't work either as expected.
As you can see, I'm not the type of person who just asks and expects everything to be done for them. I always try to do something on my own before asking for help.
Even though I learn something new with each of your responses, I'm still very far from your level of knowledge.In this case, I've run out of ideas for further attempts.
So, please @roar, @l-andorrà , help me put an end to this agony and kindly present me with a finalized solution on how such an EA should be structured. -
Another sleepless night, but this time I managed to figure it out.
I'm sharing the project so that future fools and untalented individuals like myself, looking for a similar solution don't have to suffer in the agony of own ignorance. -
Sorry for may late reply. Thank you very much for sharing.
-
no bother @l-andorrà, hopefully next time
