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

Re: [amibroker] Re: Plot Foreign



PureBytes Links

Trading Reference Links

Hello,

Actually there is a better, one line solution:

PlotForeign( "MIBI", "MIBTEL", colorCustom11, styleCandle );

For more details see:
http://www.amibroker.com/guide/afl/afl_view.php?name=PLOTFOREIGN

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "fgornati" <fgornati@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, March 16, 2003 7:30 PM
Subject: [amibroker] Re: Plot Foreign


> Oops ...
> 
> It works fine.
> 
> Thank you all.
> 
> Franco
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, Anthony Faragasso <ajf1111@xxxx>
> wrote:
> > Franco,
> > 
> > Notice the Plot statement should read : PlotOHLC()....not Plot()..
> > 
> > MibtelC = Foreign("MIBI", "C");
> > MibtelO = Foreign("MIBI", "O");
> > MibtelH = Foreign("MIBI", "H");
> > MibtelL = Foreign("MIBI", "L");
> > PlotOHLC(MibtelO, MibtelH, MibtelL, MibtelC, "MIBTEL",
> colorCustom11,
> > styleCandle);
> > 
> > Anthony
> > 
> > fgornati wrote:
> > 
> > >  Anthony,
> > >
> > > tried this:
> > >
> > > MibtelC = Foreign("MIBI", "C");
> > > MibtelO = Foreign("MIBI", "O");
> > > MibtelH = Foreign("MIBI", "H");
> > > MibtelL = Foreign("MIBI", "L");
> > > Plot(MibtelC, MibtelO, MibtelH, MibtelL, "MIBTEL", colorCustom11,
> > > styleCandle);
> > >
> > > but received back 'Too many arguments'.
> > >
> > > Franco
> > >
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso"
> <ajf1111@xxxx>
> > > wrote:
> > > > Franco,
> > > >
> > > > substitue with your index....
> > > >
> > > > Try this:
> > > >
> > > > ndxh=Foreign("^ndx","h");
> > > > ndxo=Foreign("^ndx","O");
> > > > ndxl=Foreign("^ndx","L");
> > > > ndxc=Foreign("^ndx","C");
> > > > PlotOHLC(ndxo,ndxh,ndxl,ndxc,"^NDX",colorBlack,styleCandle);
> > > >
> > > >  Anthony
> > > >
> > > > -------Original Message-------
> > > >
> > > > From: amibroker@xxxxxxxxxxxxxxx
> > > > Date: Sunday, March 16, 2003 12:56:08 PM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: [amibroker] Re: Plot Foreign
> > > >
> > > > Anthony,
> > > >
> > > > Is quite simple:
> > > >
> > > > Indicator
> > > >
> > > > Mibtel = Foreign("MIBI", "C");
> > > > Plot(Mibtel, "MIBTEL", colorBlack, styleCandle);
> > > >
> > > > (Mibtel is Milano's Stock Exchange Index).
> > > >
> > > > In the above pane I have a stock as shown by default in AB.
> > > >
> > > > Thank you
> > > >
> > > > Franco
> > > >
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, Anthony Faragasso
> <ajf1111@xxxx>
> > > > wrote:
> > > > > Franco,
> > > > >
> > > > > Is it possible to share your formulas...for a further look....
> > > > >
> > > > > Anthony
> > > > >
> > > > > fgornati wrote:
> > > > >
> > > > > >  Thank you, Jayson.
> > > > > >
> > > > > > I already tried it but it doesn't work.
> > > > > >
> > > > > > They are in two separate panes and I think they should be
> > > > indipendent.
> > > > > >
> > > > > > In the upper pane I have the stock and in the lower the
> > > indicator
> > > > > > built as a
> > > > > > Plot(Foreign.
> > > > > > If the stock quotes in the 10s and the index in the 1000s,
> the
> > > > > > indicator/index will show the same low of the stock (10)
> and the
> > >
> > > > > > close of the index (1000) and you will see all the candles
> cut
> > > in
> > > > the
> > > > > > upper margin of the pane.
> > > > > >
> > > > > > Franco
> > > > > >
> > > > > >
> > > > > > --- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx>
> > > wrote:
> > > > > > > Franco,
> > > > > > > add to styleownscale to one of your plots
> > > > > > >
> > > > > > > example;
> > > > > > > plot(c,"",4,stylecandle);
> > > > > > > plot(rsi(14),"RSI",5,styleline|styleownscale);
> > > > > > >
> > > > > > >
> > > > > > > Jayson
> > > > > > > -----Original Message-----
> > > > > > > From: fgornati [mailto:fgornati@x...]
> > > > > > > Sent: Sunday, March 16, 2003 11:57 AM
> > > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > > Subject: [amibroker] Plot Foreign
> > > > > > >
> > > > > > >
> > > > > > > I'm trying to display an index in a distinct pane along
> with a
> > >
> > > > stock
> > > > > >
> > > > > > > in the main pane of the same sheet using Foreign function
> in a
> > >
> > > > > > > dedicated formula. (named Index a formula, Plot(Foreign(
> .. )
> > > ..
> > > > > > > ), displayed Index.)
> > > > > > >
> > > > > > > In this way I get back a plot with scaling problems. If
> the
> > > > other
> > > > > > > pane hosts a stock other than the same index the candles
> and
> > > the
> > > > > > > values of the index show a relation with the main pane so
> > > > getting
> > > > > > > distorted.
> > > > > > >
> > > > > > > I don't know if I'm doing something wrong.
> > > > > > >
> > > > > > > Any suggestions?
> > > > > > >
> > > > > > > Franco
> 
> 
> 
> 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 ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/46VHAA/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/