Are you talking about the actual Buy price as taken in live trading? Or, are you talking about a simulated Buy price from AmiBroker backtesting?
If the latter, then the BuyPrice array can be set to account for gaps, and the value can be referenced by writing custom backtester logic. See GetFirstOpenPos/GetNextOpenPos in user guide: http://www.amibroker.com/guide/a_custombacktest.html Mike --- In [email protected], "lucianomt" <lucian...@...> wrote: > > I'm trying to set up the sell price based on the price I entered the trade. > How do I point to this value in the sell order? > (Note that the price that triggers the Buy order is not the same as the > actual executed price when there is a gap, so it is important that > I can use the actual buy price.) > > Thanks for the help! >
