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

Re: [amibroker] no prev signals before trigger



PureBytes Links

Trading Reference Links

Hi - here is one way I think:

percBB =   xxxx;
Cross100 = cross(100,percBB);
filter = Cross100 AND Sum( Cross100, 11 ) == 1;

----- Original Message ----- 
From: "pennellp2000" <pennellp2000@xxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, September 01, 2005 9:53 PM
Subject: [amibroker] no prev signals before trigger


>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;  
> 
> 
> 
> 
> 
> 
> 
> 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! Groups Sponsor --------------------~--> 
Make a difference. Find and fund world-changing projects at GlobalGiving.
http://us.click.yahoo.com/PcNrnD/PbOLAA/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/