PureBytes Links
Trading Reference Links
|
I want to find the the following
1)3 consecutive lower closes
2)yesterdays close to be inside bar(4rth bar)
3)todays breakout bar is ouside bar to lastbar and its high is
greater than previous 2 bars high .(5 th bar)
SetBarsRequired(-5,0);
a=Ref(C,-1)< Ref(C,-2);
b=MA(a,3)==4;// signifies yday C< day before ydays close and so on
till last 4 closes
Ref(L,-1)>Ref(L,-2) AND Ref(H,-1)<Ref(H,-2) OR
H> Ref(H,-2) AND L<Ref(L,-1);//this preceding bar is insideday() bar
or breakout bar is ouside() to inside bar
d=H>Ref(H,-1) AND Ref(H,-2);//sinifies a breakout
Filter=1;
AddColumn(IIf( IsTrue(a AND b AND d),1,0),"bullish",1);
However the exploration runs, it do not shows the results as seen in
charts.Can any one help me to correct this exploration, please.
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/
|