I need to keep the price of the order in a variable
-
Hi.
When my EA placed an order, I need to keep the price of the order in a variable so that I can use that value price for the calculation of a second order. As I can do this ?. -
The better idea is probably to get this price when you are going to use it. If you want to get the open price of the last closed trade...
For each Closed Trade (set "Not more than..." to 1) => in the next block, let's say Condition, navigate to (in loop).... and find Open Price
http://prntscr.com/6pn6ok