hi 

thanks 

ive done that but i cant seem to get more than a second market on the same 

as you can see on the attachment, i have a second chart, fine. but i cant get a 
3rd one on there after i hit "price (foreign)" then overlay. No 3rd price menu 
appears in paramteres

another question is that I would like to get say CL___CB (Oil) and WPL (Worley 
Parsons, an ASX stock code) on same chart. They are both from different 
databases. One is the "PremiumData Futures" database and the other is the 
"PremiumData ASX" database. 

The second question is more for the data provider most likely 



________________________________
From: cascade3891 <[email protected]>
To: [email protected]
Sent: Sun, 27 December, 2009 11:11:02 AM
Subject: [amibroker] Re: 2 markets on one chart

  
that's easy.
just use the price(foreign) indicator and overlay the indicator on the chart, 
and remember to change the parameters to 'own scale'. 

--- In amibro...@yahoogrou ps.com, Joseph Occhipinti <joseph_occhipinti@ ...> 
wrote:
>
> Hi all, 
> 
> Anthony, thank you greatly, this is a fantastic resource and im glad ive 
> found it.
> 
> Rather than starting another thread, i may as well ask another question 
> (unrelated) on this one 
> 
> I would like to put 2 stocks for example on the same chart , in aid of seeing 
> their correlation, how can i do this?
> 
> Or a commodtiy, say gold, with a gold stock, say an ASX gold stock or a NYSE  
> gold stock 
> 
> how can this be done from 2 or 3 separate databases?
> 
> oh, and on top of each, not one below the other
> 
> thanks
> 
> 
> 
> 
> 
> ____________ _________ _________ __
> From: Anthony Faragasso <ajf1...@... >
> To: amibro...@yahoogrou ps.com
> Sent: Sat, 26 December, 2009 2:05:18 AM
> Subject: Re: [amibroker] Re: Code for AFL on a reversal day. Help required
> 
> 
> 
> Buy,Sell,Short, Cover added..
> 
> gapclosingfromupope n =Open > Ref(H,-1)AND C > Ref(L,-1) AND C < Ref(H,-1);
> gapclosingfromdowno pen=Open < Ref(L,-1) AND C > Ref(L,-1) AND C < Ref(H,-1);
> Color= IIf(gapclosingfromu pop en,colorYellow, IIf(gapclosingfr omdown 
> open,colorOrange, ParamColor( "color",colorBla ck)));
> PlotShapes(gapclosi ngfromupop en*shapeDownArrow, colorRed, 0,High,-15) ;
> PlotShapes(gapclosi ngfromdown open*shapeUpArrow, colorGreen, 0,Low,-15) ;
> _SECTION_BEGIN( "Price");
> SetChartOptions( 0,chartShowArrow s|chartShowDates );
> _N(Title = StrFormat("{ {NAME}} - {{INTERVAL}} 
> {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, 
> SelectedValue( ROC( C, 1 ) 
> ) ));
> Plot( C, "Close", color , styleNoTitle | ParamStyle(" Style") | 
> GetPriceStyle( ) ); 
> _SECTION_END( );//Buy,Sell, Short, cover
> //Note: In AA settings ** General > Positions ** set to long and 
> short
> SetTradeDelays( 0, 0, 0, 0 );//overrides delay setting in AA 
> window 
> Buy=Ref(gapclosingf romdowno pen,-1);BuyPrice= Open;
> Sell=Ref(gapclosing fromdown open,-1);SellPrice= Close;
> Short=Ref(gapclosin gfromupope n,-1);ShortPrice= Open;
> Cover=Ref(gapclosin gfromupop en,-1);CoverPrice= Close;/// ///////// 
> ///////// ///////// ////////
> Filter= gapclosingfromupope n OR gapclosingfromdowno pen;
> AddColumn(C, "");
> AddColumn(gapclosin gfromupop en,"up");
> AddColumn(gapclosin gfromdown Open,"down") ;
> 
> 
> 
>       ____________ _________ _________ _________ _________ _________ _
> See what's on at the movies in your area. Find out now: http://au.movies. 
> yahoo..com/ session-times/
>


 


      
__________________________________________________________________________________
See what's on at the movies in your area. Find out now: 
http://au.movies.yahoo.com/session-times/

Reply via email to