hello admin can u explain me how to select tp of order before the last order opened
ex if there 5 buys orders , i want to select the fourth one
select certain order
-
hello admin can u explain me how to select tp of order before the last order opened
ex if there 5 buys orders , i want to select the fourth one -
-
i try this but it not select the wanted trade , it select the last trade , not the one before it
-
but for me are working both examplex that I provided to you ... maybe is something else wrong in your project ... my testing project where open price from second-last opened trade is printed on the chart:
https://fxdreema.com/shared/7HurHl0Q -
thank for u it working and the problem is from me,
but one more question plzzz
let tell ea open buy with take profit 25 pip , when the number of buy trades become more than 10 i want to modify the tp to 26 then 27 - 28 - 29
in other way, buy trade of number 11 should tp with 26
number 12 should tp with 27
number 13 should tp with 28
and like that
and thank for u -
for checking trades count you can use block Check trades count
-
ok and for changing tp how i can do that
-
blocks:
Check trades count + For each trade + pips away from open price + once per trade + modify stops or extend stops
maybe I something left out, when you try it you will see result, if is not working, try other ways, there are always ways ... -
i do that , but the problem in what the variable shoud be , since if want to select trades 11 and 12 and 12 one by one and make tp 26 and 27 , 28 it will take many many blocks, there is any way to make a variable to do this in one block?
-
here: https://fxdreema.com/shared/RGv1NaAwe
but you need vitalize your effort, it is important for big projects, more effort in logical problems gives you faster thinking in other logical problems ...
effort can be 101 attempts, where 100x are big fails and 1x is small successand accumulate this success!
-
thnks and thnks and thnks
thank for idea (trade count) i solve my problem , but in my own way
https://fxdreema.com/shared/NSnLGGSdd
and i cant solved without your idea
give me your comment -
this is also working ok for your situation, have a success with that