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

Re: [amibroker] Re: multiple data streams in the same chart



PureBytes Links

Trading Reference Links

Hello,

You can plot OHLC with either PlotForeign:

PlotForeign("INTC", "", colorBlack, styleCandle );

or PlotOHLC:

fo = Foreign("INTC", "O" );
fh = Foreign("INTC", "H" );
fl = Foreign("INTC", "L" );
fc = Foreign("INTC", "C" );

PlotOHLC( fo, fh, fl, fc, "INTC", colorBlack, styleCandle );

or use SetForeign:

SetForeign("INTC");
Plot( C, "INTC", colorBlack, styleCandle );
RestorePriceArrays();

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "traderkirk7" <traderkirk@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, June 11, 2005 5:53 AM
Subject: [amibroker] Re: multiple data streams in the same chart


> Thanks Terry,
> 
> The Foreign function worked.  I am not sure that I can plot an OHLC 
> bar with it for visual quality, but I can at least plot a line chart 
> of the close and use the data points in other formulas.
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxxx> wrote:
>> Try using:
>> 
>> myTicker = Foreign("INTC","C");
>> Plot(myTicker,"INTC",1);
>> 
>> Or PlotForeign
>> 
>> Or PlotOHLC
>> 
>> Also try the built-in chart under Basic Charts -> Relative 
> Performance.
>> 
>> --
>> Terry
>> 
>> 
>> | -----Original Message-----
>> | From: amibroker@xxxxxxxxxxxxxxx 
>> | [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of traderkirk7
>> | Sent: Friday, June 10, 2005 5:15 PM
>> | To: amibroker@xxxxxxxxxxxxxxx
>> | Subject: [amibroker] multiple data streams in the same chart
>> | 
>> | 
>> | Thanks guys for the quick reply to my first question.  I emailed 
> AB 
>> | support for this but since the list is so active I will post it 
> here 
>> | too.  Is it possible to have two symbols (from ascii files) 
>> | in the same chart?  They don't have to be overlaid, but just 
>> | in panes within 
>> | the same chart.  I figured out how to add a second chart window, 
> but 
>> | the problem there is that the date axis doesn't line up and 
>> | the crosshairs won't link in both charts.  I also want to be 
>> | able to call 
>> | on one symbol for indicators/signals applied to the other 
> symbol.  
>> | Again, since TradeStation is where I have the most 
>> | experience, I'll use 
>> | that as an example.  I would add a symbol as Data2 and then call 
> it 
>> | from my indicator code.  So, for example, if I wanted to buy the 
> QQQQ 
>> | based on the SPY then I could make SPY data2 and say "close of 
> data2" 
>> | or whatever within the indicator code.  Can this be done in AB?
>> | 
>> | I hope these questions are acceptable, I have tried to find 
>> | the answers first within the user guide.
>> | 
>> | Thanks again.
>> | 
>> | 
>> | 
>> | 
>> | ------------------------ Yahoo! Groups Sponsor 
>> | --------------------~--> 
>> | In low income neighborhoods, 84% do not own computers.
>> | At Network for Good, help bridge the Digital Divide! 
>> | http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
>> | --------------------------------------------------------------
>> | ------~-> 
>> | 
>> | Please note that this group is for discussion between users only.
>> | 
>> | To get support from AmiBroker please send an e-mail directly to 
>> | SUPPORT {at} amibroker.com
>> | 
>> | For other support material please check also: 
>> | http://www.amibroker.com/support.html
>> | 
>> |  
>> | Yahoo! Groups Links
>> | 
>> | 
>> | 
>> |  
>> | 
>> |
> 
> 
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

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/

<*> 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/