My question is very simple. Say the code looks like this:
----------------------
variables: MyBuyPrice(0);
buy 100 shares next bar at market;
MyBuyPrice = ????
----------------------
Is there a function in Easy Language that will tell me theprice I got filled at? I thought this would be a slam dunk, but I have not yet found an expression to do it.