For now, I just need the simulated price, so I will look into this material. Eventually, the actual live price will be necessary. Thanks!
--- In [email protected], "Mike" <sfclimb...@...> wrote: > > 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" <lucianomt@> 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! > > >
