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

[amibroker] Trying to code backtested entry/exits over several days



PureBytes Links

Trading Reference Links

Hi, I'm Trying to backtest an entry / exit over
several day period, rather than a single day. Is it
possible?



--- Steve <avalon-ardy@xxxxxxxxxxxxxxx> wrote:

> Maybe try 
> // 3 cent condition
> Buystop = Filter AND C + .03;
>  Buy = Cross( H, Ref(BuyStop,-1) );
> 
> 
>   ----- Original Message ----- 
>   From: kevinoversby 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Sunday, October 09, 2005 4:02 AM
>   Subject: [amibroker] Trying to code buy stop
> 
> 
>   I have a filter set up and my delay is set to 1 to
> enter next day. 
>   However, entry need to be between 3 cents and 3%
> above previous close.
>    I found info on buystops in the manual but can't
> get it to work yet.
>    Please could someone point me in the right
> direction? 
> 
>   // 3 cent condition
> 
>   Buystop = Filter AND C + .03;
>    Buy = Cross( H, BuyStop );
> 
>   Thanks
> 
>   Kevin
> 
> 
> 
> 
> 
> 
>   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 other support material please check also:
>   http://www.amibroker.com/support.html
> 
>    
>   Yahoo! Groups Links
> 
> 
> 
>    
> 
> 
> 
> 
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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