Loops different than newest and oldest
-
@fxDreema how can I run a loop based on order size say least to greatest or greatest to least?
-
Explain a little more
-
I want to run a loop from lowest volume size to largest
-
@purelife173
You mean the block For Each Position.I am afraid you need to DIY if your requirement is not an included feature
-
This should do it, you will need trades running first though: https://fxdreema.com/shared/1vcJj0MId
-
@jstap I didn't get the chance to try it out but reading the blocks that's not the right logic say if there are two running trades one is a .01 and the other a .5 (the newertrade) that logic would seem to run the .5 first in both scenarios. Nice attempt
It seems loops can run in most/least profitable or newest/oldest but I want to loop by lot size. From the smallest size to the greatest
-
That should put the biggest and smallest into the corresponding variable
-
@jstap limits perhaps
thanks for that sparkhttps://fxdreema.com/shared/rWOl4C1Jc
Now my next question is can that once per trade/order be reset?
-
The flaw is if there is no order the loop would stop progressing. Some numbers are Odd and others are even
-
It cannot be reset, so you would have to set conditions so if something happens it places the order, then tries again if conditions are right
-
I believe this is possibly a solution, cheers
https://fxdreema.com/shared/z4ytexJKd