Conrad,

Sounds like perhaps you are trying to run before you can walk... I can assure 
you everything you want can be done.
But you need to start reading the manual... Have you looked at the Foreign() 
function...??
If you have you should see that you can specify the field (i.e. O,H,L,C,V) that 
you are importing using that function.
Hence your volume data may not be being brought in via the foreign function.
You have a 'base' symbol for each chart and by default everything relates to 
that symbol unless you specify otherwise via Foreign().

In line with pretty much any other charting program I know of, the user is 
required to move windows & panes around manually in order that the screen 
layout be exactly as they wish it to be.

You won't get AB in 2 days flat... it's such a powerful product that your eyes 
will still be being opened in a years time... so go easy on yourself.



________________________________
From: Conrad Joach <[email protected]>
To: [email protected]
Sent: Saturday, March 21, 2009 11:18:38 PM
Subject: [amibroker] Re: Is it possible to refer to more than one instrument on 
a single chart?


I guess I don't see how you can arrange panes until you have selected 
indicators/charts/ etc.

But anyway, what I want to do is create a single window chart, in it will be a 
series of panes that go like this:

-Window
--ChartPane( tall) Ticker1 (Price) + (VolumeAtPrice)
--ChartPane( short) Ticker1 (Volume)
--ChartPane( tall) Ticker2 (Price) + VolumeAtPrice) << Note this should be the 
volume of Ticker2, not Ticker1 which is currently what happens
--ChartPane( short) Ticker2 (Volume) << Note that this should be volume of 
Ticker2, not Ticker1, which is currently that happens when I add Volume to a 
"foreign" subchart (same as above)

.... and on and on like this for about a total of 5 tickers, all with 1 minute 
intervals.

On top of this, each tall pane should have the same height, and each short pane 
should have the same height. As it is now, I have to go one by one and jigger 
them to try to eyeball the height and it never comes out right and it just ends 
up displacing the ones before and after it. Is there some way to make them all 
equidistant/ height?

Once I have this all set up I want to then be able to re-use it for different 
sets of tickers, and have code that runs algorithms on each set of 5 tickers 
(with their corresponding 5 volume sub panes).

Hopefully this makes sense. I appreciate all the help. Don't think I am being 
lazy, I am reading a ton and trying to put as much together as I can on my own.

--- In amibro...@yahoogrou ps.com, "sidhartha70" <sidhartha70@ ...> wrote:
>
> Splitting of charts is decided by the user outside of code Conrad.
> You decide on how you want your panes or charts to look display wise, then 
> you can do anything to them with AFL.
> 
> It might help if you just explained exactly what you are trying to achieve... 
> then we can help.
> 
> --- In amibro...@yahoogrou ps.com, "Conrad Joach" <consolejoker@ > wrote:
> >
> > Ok I am able to split the chart in two, but how do you do this with code? 
> > When I take the code inside the formula of a drag and drop chart, and try 
> > to apply it again, it all shows up in the same pane of the chart. Is there 
> > a function to split a chart window or create a new pane within it?
> > 
> > --- In amibro...@yahoogrou ps.com, "sidhartha70" <sidhartha70@ > wrote:
> > >
> > > Anything you save that is your own code (or a modification of existing 
> > > code) that you wish to keep you should have in either the 'custom' folder 
> > > or the 'include' folder. (and of course you can create your own  
> > > subfolders within these)... the custom & include folders are never 
> > > touched when you upgrade AB so your code should be safe.
> > > 
> > > I can't quite visualize what you say below... it may be because you are 
> > > using an unpaid version of AB. It may not let you save charts & 
> > > forumula's until you have a paid version.
> > > 
> > > I've been using AB for about a year now... I'm a former C# coder. It 
> > > takes a while to get your head around AFL... but once you do, you can do 
> > > pretty much anything with AB. TJ has created a phenominal tool for 
> > > programmers for an unbelievable price. Bang for your buck wise nothing 
> > > comes even close to AB.
> > > 
> > > Exactly, all the power is in AFL. So get coding!!!
> > > 
> > > --- In amibro...@yahoogrou ps.com, "Conrad Joach" <consolejoker@ > wrote:
> > > >
> > > > One quick question. If I edit the formula in the window, and try to 
> > > > save it, it says it wants to save it in a custom folder. I say yes, and 
> > > > then when I try to load the custom version, it seems to be blank. 
> > > > Should I create a fresh AFL script from scratch rather than modify a 
> > > > pre-existing one? Is that how most people do it?
> >
>


   


      

Reply via email to