Multiple stocks in one chart

madhavareddy1203

Well-Known Member
#1
Hi,

how can i see multiple stocks in one chart in ami brokers....

i want to compare two stocks signals by moving time line... now im able to check in multiple windows.. but this is no comfortable to watch exactly..

can any one guide me.. how to see multiple stocks in one chart....
 
#2
Hi,

how can i see multiple stocks in one chart in ami brokers....

i want to compare two stocks signals by moving time line... now im able to check in multiple windows.. but this is no comfortable to watch exactly..

can any one guide me.. how to see multiple stocks in one chart....
In Amibroker Go to Windows and select Tile horizontally ...now you can see both charts in one screen....they can be tiled vertically also.

Smart_trade
 

asnavale

Well-Known Member
#3
Hi,

how can i see multiple stocks in one chart in ami brokers....

i want to compare two stocks signals by moving time line... now im able to check in multiple windows.. but this is no comfortable to watch exactly..

can any one guide me.. how to see multiple stocks in one chart....
Use FOREIGN function to plot the second ticker in the same chart.

-Anant
 

PartTime_Trader

Well-Known Member
#5
Not only line u can use 2 sets of candles also :D

try 1 as candle and other as bar :)

Enjoy . . .


Code:
_N( Symbol2= ParamStr("Symbol2", "BANKNIFTY_F1") );
Style = ParamStyle("Price Style",styleThick, maskAll);
SetForeign( Symbol2 );
O2 = O;		C2 = C;
H2 = H;		L2 = L;
V2 = V;		OI2=OI;
RestorePriceArrays();
Color1 = ParamColor( "Color1", colorDarkGreen);
Color2 = ParamColor( "Color2", colorBrightGreen );
Style1 = ParamStyle( "Style1", styleOwnScale | styleCandle, maskPrice );
Style2 = ParamStyle( "Style2", styleOwnScale | styleBar, maskPrice );
PlotOHLC(O, H, L, C, Name(), Color1, style1);
PlotOHLC(O2,H2,L2,C2, Symbol2, Color2, style2);
Cheers
::thumb::






EDIT:

Use the below for more than 2 tickers, just drop this code onto any chart multiple number of times . . .

Code:
_SECTION_BEGIN("Extra Ticker");
_N( Symbol2= ParamStr("Symbol2", "BANKNIFTY_F1") );
SetForeign( Symbol2 );
O2 = O;		C2 = C;
H2 = H;		L2 = L;
V2 = V;		OI2=OI;
RestorePriceArrays();
Color2 = ParamColor( "Color2", colorBrightGreen );
Style2 = ParamStyle( "Style2", styleOwnScale | styleBar, maskPrice );
PlotOHLC(O2,H2,L2,C2, Symbol2, Color2, style2);
_SECTION_END();
Enjoy^n
 
Last edited:
#7
also can you help advice one thing, why there some candles are there at same volume, but there are some places as some candles are not there - just a price jump ( without making any candle). can you advice why is it on chart/?
infibeam compare.jpg
 

ethan hunt

Well-Known Member
#8
Not only line u can use 2 sets of candles also :D

try 1 as candle and other as bar :)

Enjoy . . .


Code:
_N( Symbol2= ParamStr("Symbol2", "BANKNIFTY_F1") );
Style = ParamStyle("Price Style",styleThick, maskAll);
SetForeign( Symbol2 );
O2 = O;        C2 = C;
H2 = H;        L2 = L;
V2 = V;        OI2=OI;
RestorePriceArrays();
Color1 = ParamColor( "Color1", colorDarkGreen);
Color2 = ParamColor( "Color2", colorBrightGreen );
Style1 = ParamStyle( "Style1", styleOwnScale | styleCandle, maskPrice );
Style2 = ParamStyle( "Style2", styleOwnScale | styleBar, maskPrice );
PlotOHLC(O, H, L, C, Name(), Color1, style1);
PlotOHLC(O2,H2,L2,C2, Symbol2, Color2, style2);
Cheers
::thumb::






EDIT:

Use the below for more than 2 tickers, just drop this code onto any chart multiple number of times . . .

Code:
_SECTION_BEGIN("Extra Ticker");
_N( Symbol2= ParamStr("Symbol2", "BANKNIFTY_F1") );
SetForeign( Symbol2 );
O2 = O;        C2 = C;
H2 = H;        L2 = L;
V2 = V;        OI2=OI;
RestorePriceArrays();
Color2 = ParamColor( "Color2", colorBrightGreen );
Style2 = ParamStyle( "Style2", styleOwnScale | styleBar, maskPrice );
PlotOHLC(O2,H2,L2,C2, Symbol2, Color2, style2);
_SECTION_END();
Enjoy^n
Ref: The second code for Multiple Symbols on single chart pane.

Open High Low Close Volume (ROC) values etc for Symbol 1 displays on the Top Axis.

How to display Open High Low Close Volume (ROC) values etc for Symbol 2 on the Top Axis in addition to values already displayed by Symbol 1 ?
 

Similar threads