PureBytes Links
Trading Reference Links
|
Hello,
i want to find out two consecutive bullish or bearish bars , for
following conditions
1)Bullish- open should be in bottom 20% of the days range and close
in top 20% of days range and rsi below 30 rising
2) Bearish - open should be in top 20% of days range and close in
bottom 20% of days range.and rsi above 75 falling
Both the bars range should be above ATR(10)
For the bullish bar I have partially tried to put the condition as
folows but results not to mark
// for bullish
Cond1=((C-L)/(H-L))>0.8 AND ((O-H)/(H-L))>0.8 AND RSI(14)<30;
buy =iif( AVG>ATR(10),cond1,1);
kind Regards
------------------------ 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/
|