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

Re: [amibroker] Q: Does Equity(1,0) not allow Buy,Trail-Sell, Buy or Short,Trail-Cover,Short?



PureBytes Links

Trading Reference Links

Hello,

As long as you use INTRADAY (for example 1-minute) data this all should work just fine.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "janhausd" <janhaus@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, January 22, 2008 6:47 AM
Subject: [amibroker] Q: Does Equity(1,0) not allow Buy,Trail-Sell, Buy or Short,Trail-Cover,Short?


>I had a quick q regarding how this function works, and my searching on
> this forum hasn't yielded an answer, so I apologize if I'm asking
> something obvious.
> 
> I have a working AFL, with equity(1,0) in the right places so that
> everything works, along with custom stop code, which also works. My
> question is this:
> 
> 1. I have a short signal at 9:30am, (Short = 1), works.
> 2. This position is stopped out (Cover = 4) at 10:00am, also works
> 3. I have another short signal at 10:30am, (Short = 1) <- This one
> doesn't appear either in the backtest or on the charts
> 4. I have a Buy signal at 11:00am,  (Buy = 1), which works.
> 
> From this example, it seems to my rudimentary opinion that equity(1,0)
> will not allow the sequence of Short, Cover (not Buy, just Cover),
> Short, or Buy, Sell (not Short, just Sell), Buy. But it will allow
> Short,Buy,Short, or vice versa. Is it the case that equity(1,0)is not
> taking into account the trailing stops when it is removing redundant
> signals? Is this the case, and if so, how can I work around it so I
> can get the Short in step 3. to show up?
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get 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
> 
> Yahoo! Groups Links
> 
> 
> 


Please note that this group is for discussion between users only.

To get 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
 
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/