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

Re: [amibroker] Filtering Buy



PureBytes Links

Trading Reference Links

Referring back to itself would require a loop
But you could do it by renaming the buy
 
BuySig = YourBuyConditions;
 
Buy = buySig and ref(barssince(Buysig),-1)>=5;
 
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm

 
On 3/14/06, Prashanth <prash454@xxxxxxxxxxxxxx> wrote:
Hello,
 
I have a Buy only Formula. I need to add a Syntax which would check if the Previous Buy happened over the past 5 bars and if so omit the Buy, else the Buy should be produced on Scan
 
I tried working with BarsSince but I couldnt get the required result. What is the correct procedure to do this.
 
Thanks in Advance
 
Regards
 
Prashanth
 
 


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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


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 other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS