PureBytes Links
Trading Reference Links
|
Anthony and Dimitris,
I did have "all quotations.com" selected. However, two minutes after
I sent my message for help I realized that the composites were not
getting updated because the code was missing. I went back to
Dimitris' messages, got the code again added it to mine and now it
updates. The composites are ~rsiosi and ~rsiobi.
Sorry for bothering you. Thank you for your help.
Ed
--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx>
wrote:
> Ed,
>
> In AA...do you have "all quotations" selected before doing the scan
for the
> composite
>
> Anthony
>
> -------Original Message-------
>
> From: amibroker@xxxxxxxxxxxxxxx
> Date: Thursday, April 03, 2003 21:46:16
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Fw: 6 valuable Sell The Market signals
>
> Dimitris,
>
> Thank you for the tips on your indicator. I implemented it as you
> indicated with the N100 database and it matched your chart
exactly.
> Now I have a new problem and I have spent about 4- 5 hours over the
> last week trying to solve it. As a neophye with AmiBroker I am
still
> trying to learn by doing.
>
> My new problem is that the indicator graphs, RSI OSI, RSI OBI and
RSI
> Medium have not updated since I created it on 3-25-03. I am getting
> horizontal lines for each of the graphs since then. I have
> checked "settings", preferences and the help screens and user
guide.
> I have done a new scan in AA every day since 3-25-03 but I still
get
> horizontal lines since 3-25-03.
>
> Any clues you or anyone can give me to explore would be
appreciated.
> My exact code is as follows:
>
> //Nasdaq 100 RSI-Overbought-Oversold
>
> AddToComposite(1,"~COUNT","V");
>
> MaxGraph=4; //EMW changed from 3 to 4
> os= Foreign("~rsiosi","V");
> ob=Foreign("~rsiobi","V");
> C1=Foreign("~COUNT","V");
> Oo=C1-(os+ob);
> os1=100*os/(os+ob+oo);
> ob1=100*ob/(os+ob+oo);
> oo1=100*oo/(os+ob+oo);
> Graph0=os1;
> Graph1=ob1;
> Graph2=oo1;
> Graph2Style=1;
> oodif=MA(oo1-os1,3); //EMW added
> Graph3= oodif; //EMW added
> Graph3Style=1; //EMW added
> Graph3Color=22; //EMW added
> Title=EncodeColor( colorRed )+"Rsi OSI = "+ WriteVal(SelectedValue
> (os1),Format=1.1 )+"%"+
> EncodeColor( colorGreen )+", Rsi OBI= "+WriteVal(SelectedValue
> (ob1),Format=1.1 )+"%"+
> EncodeColor( colorYellow )+", Rsimedium= "+WriteVal(SelectedValue
> (oo1),Format=1.1)+"%"+
> EncodeColor( colorViolet)+",oodif= "+WriteVal(SelectedValue
> (oodif),Format=1.1)+"%";//EMW changed to add oodif
> Graph0Color=32;
> Graph1Color=27;
> Graph2BarColor=42;
> Sell=ob1>=46;
> Buy=Oodif<=46 AND os1<=25 AND oodif>=os1;// EMW added
> PlotShapes(IIf
>
(Sell,shapeUpArrow+shapePositionAbove,shapeNone),colorRed,0,Graph2,Off
> set=0);//EMW added
> PlotShapes(IIf
> (Buy,shapeUpArrow,shapeNone),colorGreen,0,Graph3,Offset=0); //EMW
> added
>
> --------------------------------------------------------------------
--
>
> --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS"
<TSOKAKIS@xxxx>
> wrote:
> > This study refers to N100 database only.
> > Different database will obviously give different results.
> > The arrows were produced with a scan
> > sell=ob1>45;
> > to materialise the "never exceeded 50..." )on ^NDX price chart.
> > The rest graphics were done with Corel paint.
> > DT
> > --- In amibroker@xxxxxxxxxxxxxxx, "trailblazerii" <ewylonis@xxxx>
> > wrote:
> > > Dimitris,
> > >
> > > I pasted your code into the Auto-analyzer (AA) and Indicator
> > Builder
> > > (IB), ran it and got different results. First I pasted the
code
> > into
> > > AA and ran the code against my database which is Quotes Plus.
I
> > ran
> > > it with only stocks and then against the whole database of
Stocks
> > and
> > > Mutual Funds. The run with the entire database is closer to
your
> > > results. I then created an indicator in IB with the same code.
> > >
> > > Could the difference in the results be explained by using
> different
> > > databases or did I do something wrong?
> > >
> > > Also, How did you get the arrows? Were they added manually?
> > >
> > > How do you add a graphic to a message? I will then send a
> picture.
> > >
> > > The code that I included in AA and IB are below and I would
> > > appreciate any advice.
> > >
> > > Thanks,
> > >
> > > Ed
> > >
> > >
> > >
> > > ----------------------------------------------------------------
--
> --
> > -
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS"
> > <TSOKAKIS@xxxx>
> > > wrote:
> > > > Exactly !
> > > > I suppose you run the
> > > > AddToComposite(1,"~COUNT","V");
> > > > together and then, in IB
> > > >
> > > > os= Foreign("~rsiosi","V");
> > > > ob=Foreign("~rsiobi","V");
> > > > C1=Foreign("~COUNT","V");
> > > > Oo=C1-(Os+Ob);
> > > > os1=100*os/(os+ob+oo);
> > > > ob1=100*ob/(os+ob+oo);
> > > > oo1=100*oo/(os+ob+oo);
> > > > Graph0 =os1;
> > > > Graph1=ob1;
> > > > Graph2=oo1;
> > > > Graph2Style=1;
> > > > Title="Rsi OSI = "+
> > > > WriteVal(LastValue(os1), format=1.0 )+"%"
> > > > +", Rsi OBI= "+WriteVal(LastValue(ob1),format=1.0 )+"%"
> > > > +", Rsimedium= "+WriteVal(LastValue(oo1),format=1.0)+"%";
> > > > Graph0Color=4;
> > > > Graph1Color=5;
> > > > Graph2BarColor=7;
> > > >
> > > > Sorry for the old fashion AFL style, I just pasted my code.
It
> > > works !
> > > > DT
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "steve_almond"
> > > <steve_almond@xxxx>
> > > > wrote:
> > > > > Dimitris,
> > > > >
> > > > > What is the third curve (yellow) in the top graph?
Rsimedium?
> > > > >
> > > > > Steve
> > > > >
> > > > >
> > > > > --- In amibroker@xxxxxxxxxxxxxxx, "Dimitris Tsokakis"
> > > > <TSOKAKIS@xxxx>
> > > > > wrote:
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: Dimitris Tsokakis
> > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > Sent: Tuesday, March 25, 2003 1:36 PM
> > > > > > Subject: 6 valuable Sell The Market signals
> > > > > >
> > > > > >
> > > > > > The RSIobi, RSI overbought N100 issues never exceeded 50
> the
> > > last
> > > > > years.
> > > > > > Enjoy the last 6 Sell signals.
> > > > > > The March24 peak was dramatic : The RSIobi dropped from
> 48.5
> > to
> > > > > 5.9 !!!
> > > > > > Dimitris Tsokakis
> > > > > > Reference:
> > > > > > http://www.amibroker.com/library/detail.php?id=179
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save Smiley. Help put Messenger back in the office.
http://us.click.yahoo.com/4PqtEC/anyFAA/i5gGAA/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/
|