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

Re: [amibroker] Help with system



PureBytes Links

Trading Reference Links




Epintoem,
 
I removed your version of StochRSI....with the 
following code and the shorts showed up.
 

Periods=13;
StochRsi=(Sum<FONT 
size=2>(RSI<FONT 
size=2>(Periods)-LLV<FONT 
size=2>(RSI<FONT 
size=2>(Periods),Periods),3<FONT 
size=2>)/Sum(<FONT 
color=#0000ff size=2>HHV(<FONT color=#0000ff 
size=2>RSI(Periods),<FONT color=#ff00ff 
size=2>3)-<FONT color=#0000ff 
size=2>LLV(RSI<FONT 
size=2>(Periods),Periods),3<FONT 
size=2>))*100<FONT 
size=2>;
 
Give it a try....then we can think about 
improvements...Let me know.
 
Anthony
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  epintoem 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, July 06, 2003 4: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 
  thesettings.any suggestions...anyone think of any 
  improvements?TIAparta=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)ANDMACD()>Signal();ssetup=Ref(Stochrsi,-1)>70 
  AND Stochrsi<Ref(Stochrsi,-1)ANDSignal()<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@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 
  
<BLOCKQUOTE 
><FONT 
  face="Courier New">---Outgoing mail is certified Virus 
  Free.Checked by AVG anti-virus system (<A 
  href="">http://www.grisoft.com).Version: 6.0.497 
  / Virus Database: 296 - Release Date: 7/4/2003






Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.