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

Re: [amibroker] Re: How to overlay a line on price?


  • Date: Tue, 23 Feb 2010 00:33:41 -0800 (PST)
  • From: Ding <lasallewashington@xxxxxxxxx>
  • Subject: Re: [amibroker] Re: How to overlay a line on price?

PureBytes Links

Trading Reference Links



Thank you. This works. 


From: droskill <droskill@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Mon, February 22, 2010 6:58:30 AM
Subject: [amibroker] Re: How to overlay a line on price?

 

Open the Formula editor and the code should go something like this (it will vary depending on the name of your imported data):

fc = Foreign("~NAMEOFMYD ATA","C") ;
Plot(fc,"My data",colorBlue, styleLine, 1,1,0);

That's it - save it to your custom or indicator folder. Hit F5 to update the directory (or quit and restart AB), double click on the name in the indicator list.

As for why you're getting an error - not sure - can't remember if you can import negative values.

--- In amibroker@xxxxxxxxx ps.com, Ding <lasallewashington@ ...> wrote:
>
> I got an error when I tried to import the data since it has negative values. I also realize I shouldn't overlay on price chart since they have different scale. How can I display it in a separate pane just like a new indicator? thanks
>
> Ding
>
>
>
> ____________ _________ _________ __
> From: droskill <droskill@xx .>
> To: amibroker@xxxxxxxxx ps.com
> Sent: Sun, February 21, 2010 4:51:23 AM
> Subject: [amibroker] Re: How to overlay a line on price?
>
>
> Use the import wizard to bring in the file (under file menu) - there a multiple steps, and you'll assign the actual data to an existing AB field - I'd suggest the close since you want to plot it.
>
> After you've got it imported, pull up a price chart, and then use Foreign command (it's a piece of the AB language) to plot it on the price chart. You will have trouble if the scale of the imported data is considerably different from the price data you are plotting it over.
>
> --- In amibroker@xxxxxxxxx ps.com, Ding <lasallewashington@ ...> wrote:
> >
> > Hi,
> >
> > I have a data series in excel. The first column is date and the second column is the data. I want to overlay the data series on the price daily chart. How can I do this in Amibroker? thanks
> >
> > Ding
> >
>




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___