PureBytes Links
Trading Reference Links
|
This will have to do as I am working in my database that only has close
and not H/L/O, so it is a line chart, not candlesticks.
This code produces the A1.gif attached:
QQQ=Foreign("QQQ","C");
Plot(QQQ,"QQQ",4,1);
Plot(RSI(13),"RSI13",5,4);
Plot(70,"",colorYellow,1);
Plot(30,"",colorYellow,1);
Plot(50,"",7,1);
GraphXSpace=5;
This code produces the A2.gif attached. The only difference is the
addition of the styleownscale operator following the "|" (vertical line
character).
QQQ=Foreign("QQQ","C");
Plot(QQQ,"QQQ",4,1|styleOwnScale);
Plot(RSI(13),"RSI13",5,4);
Plot(70,"",colorYellow,1);
Plot(30,"",colorYellow,1);
Plot(50,"",7,1);
GraphXSpace=5;
You will (must) read enough of the help file to be able to do basic
things in AB, otherwise it will not produce good results for you. Even
if you consider yourself "not to be a programmer". No reason you have
to use all of the commands or features--but you have to be able to do
the basics. With time, you will understand it better. The 1 at
the end of the plot statement makes a line plot. What code produces a
candlestick chart (when your database has O/H/L/C data??---the answer is
in the help file, search for graphs or graphing or plot)
Ken
-----Original Message-----
From: Ed [mailto:reach1136@xxxxxxxxx]
Sent: Sunday, October 26, 2003 4:03 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Price Window
Ken thank...I thought this might be the case. Unfortunately, I am
not a very experience programmen...can you or somone point me to an
example of an indicator with this code (e.g. for candlesticks
represnting price) so that I can learn how to do it?
ANd I do like AB much better than MetaStock os foar.
Ed
--- In amibroker@xxxxxxxxxxxxxxx, "Ken Close" <closeks@xxxx> wrote:
> Ed: you are not doing anything wrong, you are still learning...
>
> You do not overlay an indicator on the standard price window.
Rather
> you plot the price in the same indicator code so they then are in
the
> same pane. If the values are widely different it will not be very
> readable, so one or the other variable being plotted needs to have
> "styleOwnScale" included in the plot statement.
>
> Again, if you have the Price default set to line chart and you wish
to
> open a window with candlesticks in it, you have to plot price in the
> Indicator Builder and tell it to plot candlesticks. Look up Graphs
in
> the help file for all details on plotting.
>
> I just reopened Metastock after not having used it since Mar, 2002
(I
> wanted to see Three Line Break charts and did not know that these
can be
> produced in Amibroker). Anyway, the Metastock interface and
features
> are much harder to use IMHO, and I say that not just because I have
been
> using Amibroker all this time, but because AB is so much more
flexible.
> About the only thing that MS does that AB does not do yet
is "dragging
> indicators around", which is not that big a deal.
>
> Good luck, ask some more if this has not been enough.
>
> Ken
>
> -----Original Message-----
> From: Ed [mailto:reach1136@x...]
> Sent: Sunday, October 26, 2003 12:55 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Price Window
>
> Hello - I am an experienced TC2000, Omnitrader and MetaStock user
and
> I have the eval of AmiBroker - I cannot figure out a few
> things...such as
>
> 1. opening a new window with just candlesticks, i.e. not using
> the "Price" defaults from preferences - I just want the pricing,
> bards, candlesticks, whatever;
>
> 2. On several custom indicators, I get the indicator in the new
> window, but not overlayed on Price - it's just the custom indicator.
>
> What am I doing wrong?
>
> Thanks in advance, EdM
>
>
>
>
> 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
> 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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
Attachment:
A2.gif
Description: GIF image
Attachment:
Attachment:
Description: "Description: GIF image"
Attachment:
Description: "A1.gif"
|