PureBytes Links
Trading Reference Links
|
I'm new using AB. I'd like to be able to chart a spread of two stock
symbols and I'd like the chart to be a candlestick price chart ? just
as if I was looking at the price chart of a single security. So, for
example, if I were plotting a capital balanced equity spread in Coke
and Pepsi, I need to be able to plot it on a capital balanced ratio
(120 shares of Coke minus 100 shares of Pepsi). In Esignal this is
accomplished by creating a custom spread symbol, which in this case
would be "1.2KO ? PEP".
I plotted a spread in AB using the Foreign function: spread = Foreign
( "ticker1", "C") - Foreign( "ticker2", "C");
Plot( spread, "spread", colorRed);
However, this does not give me a true price plot with OHLC
candlesticks. It plots it like an indicator ? as a line. Ideally, I
do not want to create an indicator. Ideally, like in eSignal, I want
to create a custom symbol, which corresponds to a custom price plot ?
this price plot being the ratio adjusted difference between two
stocks, as described above. Then I would like to be able to apply
all of the various indicators (MA's, RSI, CCI, MACD, etc.) to that
custom price plot.
I covered the AFL Library, UKB, Yahoo Users Group and AB manuals. I
cannot find any information on this. If you can point me in the
right direction I would greatly appreciate it. Thanks.
-Joe
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|