[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: How to use entry price in strategy?



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> 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 amibroker@xxxxxxxxxxxxxxx, "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!
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/