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

Re: [amibroker] newbie question



PureBytes Links

Trading Reference Links

Another way I believe:
 
buy=your rule here;
buy=exremspan(buy,5);
sell=ref(buy,-5);
 
buy=exrem(buy,sell);
sell=exrem(sell,buy);
----- Original Message -----
From: bdeckstd
Sent: Tuesday, November 23, 2004 12:52 AM
Subject: [amibroker] newbie question


I have an indicator written that will generate a buy but can"t figure
out how to code a simple sell rule. Just need to code "sell after 5
days". Any help is appreciated. I'm sure its simple but i'm new to AFL.

Thanks  Bill





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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html





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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links