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

[amibroker] Formula help



PureBytes Links

Trading Reference Links

I am trying to find days where the Williams %R has been above -20 ( 
eg, -18)  for any day within the last 5 days. When I visually check 
the arrows I find that on some arrows it has been longer than 5 days 
since the W%R has been above -20. Any suggestions as to where my 
problem is.  Thanks in advance   Phill 
 I am using the following formulas; 

R= ((HHV(H,10) - C) /(HHV (H,10) -LLV (L,10))) * -100;



Filter = Cross( MA( Close, 10 ), Close )
AND MA( Close, 100 ) < (Ref( MA( Close, 100 ), -40 ) - 2*ATR(100))
AND Close < MA( Close, 100 )
AND Ref( HHV( R,5 ), 0 ) > -20;



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/