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

Re: [amibroker] AFL getting started.



PureBytes Links

Trading Reference Links

Hi Bimbo --

You want to buy on the open every day?  If you are using end-of-day data:

Buy = 1;
BuyPrice = Open;


If you are using the ordinary capabilities of AmiBroker (which I assume you are since you are just starting), you will have only one position open for a given symbol.  Until you exit the first trade, all succeeding Buy signals for that symbol will be ignored.  If you are running a portfolio, AmiBroker keeps track of the Buy and Sell according to the symbol, so there is no confusion in the report.

Thanks,
Howard
 

On Sat, Sep 27, 2008 at 3:59 PM, bimbo2blond <bimbo2blond@xxxxxxxxx> wrote:

Hello,

I'm just starting with amibroker and have two questions.

- How do I program that every day on the open a position is opened?
Will 'Buy = Open' do the job?

- How do I link a buying signal with a sell signal? E.g. I use an
exitstrategy that is a function of the entryprice. Then it is possible
that the exit signals appear in a different order then the
entrysignals. How do I make sure that the entry and exit signal are
linked so that the report produces correct trade to trade results? (If
entry and exit are not linked correctly I may get an incorrect
assesment of the stability of the system)

Thanks
BB


__._,_.___

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

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

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

For other support material please check also:
http://www.amibroker.com/support.html

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___