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

[amibroker] enter on Monday



PureBytes Links

Trading Reference Links


I am testing the following. It is a weekly system. How do I say "buy 
when Mondays open is greater than Fridays (ie the weekly)  close". 
The last line below checks Fridays open against the previous Fridays 
close  which is not what I want.  Thanks in advance   Phill 

Filter =Cross(Close, Ref( HHV( High, 3 ), -1 ))
AND Close >= 1
AND Close < 10
AND Close > MA(Close,34)
AND MA(Close,34) > Ref(MA(Close,34),-5)
AND MACD(12,26)>0
AND OBV() > MA(OBV(),21)
AND ATRperc >= 1
AND ATRperc <=10;

Buy = Filter 
And open > ref(close,-1) ;






------------------------ 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/