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

[amibroker] no prev signals before trigger



PureBytes Links

Trading Reference Links

I am using percBB crosses below 100 as a trigger. How do I add I do not 
want any previous crosses below 100 of the percBB to have occurred in 
the previous  10 periods. I have tried using both //AND BarsSince(Ref
(Cross(100,percBB),-1) > 10;// and // ref(barssince(cross(100,percBB)),-
1) > 10;//    I am getting error codes with both. Would appreciate any 
help.  Thanks in advance   Phill 
 


percBB =   xxxx;
filter = cross(100,percBB) and BarsSince(Ref(Cross(100,percBB),-1) > 10;


filter = cross(100,percBB) and ref(barssince(cross(100,percBB)),-1) > 
10;  






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Help tsunami villages rebuild at GlobalGiving. The real work starts now.
http://us.click.yahoo.com/njNroD/KbOLAA/cosFAA/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/