How To Make Reference to Price Levels
-
Good day guys;
Please i need help on my project - https://fxdreema.com/shared/Lr6agppRc
In the project, I have both Buy and Sell Pending Orders, I want to be able to make reference to the price levels of these 2 pending orders so that I can modify the lotsizes each time price touches any of the uppper(buy) or lower(sell) price limit
It's more like the Zone Recovery System.
Thanks for the help.
-
@econsulttt You can store the value intop a variable this way:

Than you can use that open price later in the EA. However, don't forget to reinitialize the variable if/when required.
-
@l-andorrà Thanks a zillion times; it worked as expected only when I removed 'For Each Trade' block, using only the 'Modify Variables'.
Thank you so much, I really do appreciate your conscious and genuine efforts to helping me out. I'm Happy.
-
@econsulttt You're welcome.
