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

[amibroker] Best data vendor for realtime scans: yahoo....?



PureBytes Links

Trading Reference Links

Hello,

Pyramiding is not directly supported however you can just close and re-enter bigger position.

http://groups.yahoo.com/group/amibroker/message/21048

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Matthew D. Langston" <langston@xxxxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, June 26, 2004 3:15 AM
Subject: [amibroker] How do I add to a position?


> How do I add to a position?
> 
> As a simple example, suppose I want to test a "buy and hold" 
> strategy where I buy $100 of stock xyz every Tuesday. I tried this:
> 
> PositionSize = 200; // invest $200 in every trade
> Buy = DayOfWeek() == 2; // buy on Tuesday
> Sell = False;
> 
> However, running a backtest only buys $200 on the first Tuesday. AFL 
> doesn't allow me to continue to add to this position without first 
> closing it.
> 
> It seems like I should be able to do this. What am I missing?
> 
> Warmest regards, Matt
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/