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;
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
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
YAHOO! GROUPS LINKS
|