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

[amibroker] Help with system



PureBytes Links

Trading Reference Links

Here is a system that I amtoying with.


 no shorts are showing up even though I have checked the boxes in the
settings.

any suggestions...anyone think of any improvements?

TIA



parta=Sum(RSI(5)-LLV(RSI(5),3),3);
partb=Sum(HHV(RSI(5),3)-LLV(RSI(5),3),3);
Stochrsi=parta/partb;
bsetup=Ref(Stochrsi,-1)<30 AND Stochrsi>Ref(Stochrsi,-1)AND
MACD()>Signal();
ssetup=Ref(Stochrsi,-1)>70 AND Stochrsi<Ref(Stochrsi,-1)AND
Signal()<MACD();
Buy=  bsetup AND H>Ref(H,-1);
BuyPrice=Ref(H,-1);
Sell= Stochrsi>70 OR L<Ref(L,-1);
SellPrice=Ref(L,-1)-.10;
Short=ssetup AND L<Ref(L,-1);
ShortPrice=Ref(L,-1);
Cover= Stochrsi<30 OR H>Ref(H,-1);
CoverPrice=Ref(H,-1)+.1;



Filter=Buy OR Sell OR Short OR Cover;
Buy=ExRem(Buy,Sell); Sell=ExRem(Sell,Buy); Short=ExRem(Short,Cover);
Cover=ExRem(Cover,Short);

AddColumn(BuyPrice,"Buy");
AddColumn(SellPrice,"sell");
AddColumn(ShortPrice,"short");
AddColumn(CoverPrice,"cover");



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Inkjet cartridges up to 80% off. HP, Epson, Lexmark--we have your brand.
Free shipping on every order to the U.S. and Canada! Excellent service.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/QWB0QC/.eUGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/