Hi,

I am new to AmiBroker and this group and was trying to create 3 to 4 charts 
each in a separate pane using the Formula Editor. For example, I wanted to Plot 
SPY and QQQQ together in one pane, their ratio in a second pane and a simple 
oscillator based on the ratio in a 3rd pane. 
With SPY as my active ticker I created the following AFL:

Nasdaq=Foreign("QQQQ","C");
RestorePriceArrays();
Filter=C>5;
Ratio=C/Nasdaq;
Oscillator=(Ratio-LLV(Ratio,200))/(HHV(Ratio,200)-LLV(Ratio,200));

Plot (Nasdaq,"QQQQ",colorBlue,styleLine);
Plot (Close,"S&P",colorRed,styleLine |styleOwnScale);
Plot (Ratio,"Ratio",colorBlue,styleLine);
Plot (Oscillator,"Oscillatio",colorBlack,styleLine |styleOwnScale);

I then run Explore in Automatic Analysis and clicked the Apply indicator in the 
Formula editor to create the charts. 
Question is, how can I create the charts in different panes? Should I be doing 
something completely different?

Thanks

Reply via email to