PureBytes Links
Trading Reference Links
|
Tia, I see what you want now, Your ssetup definition is fine, but of course
you knew that. Ron D
----- Original Message -----
From: "mrdavis9" <mrdavis9@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, July 06, 2003 4:16 PM
Subject: Re: [amibroker] Help with system
> Tia, you need to be aware that I am just starting to crawl when it comes
to
> writing code. I have no idea what most of these things are in your code.
> With that said, I did notice that your definition of ssetup may have a
> problem. You have placed >70 behind the first
> Ref( in your definition , but you do not have any value placed behing
> your second Ref( in your definition. Ron D
>
> Short=ssetup AND L<Ref(L,-1);
>
>
>
>
> ssetup=Ref(Stochrsi,-1)>70 AND Stochrsi<Ref(Stochrsi,-1) AND
> Signal()<MACD();
>
>
>
>
> ----- Original Message -----
> From: "epintoem" <epintoem@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Sunday, July 06, 2003 3:45 PM
> Subject: [amibroker] Help with system
>
>
> > 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");
> >
> >
> >
> >
> > 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/
> >
>
>
>
> 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/
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save up to 80% on top-quality inkjet cartridges and get your order fast!
FREE shipping on orders $50 or more to the US & Canada. Shop at Myinks.com!
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/v2G7ND/KfUGAA/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/
|