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

Re: [amibroker] Re: Is it possible to divide an indicator pane into several zones?



PureBytes Links

Trading Reference Links



See my response to "HOW TO PLOT PRICE, MACD, STOCHASTIC ON ONE CHART?", 10/9/2009, 20:30EDT.

Also, Dennis Brown's response to same, 10/13/09, 21:01EDT, for an approach which does not require using
GetChartID().  (I have not yet had a chance to Dennis' approach.)
-- Keith

polomorabe wrote:
 

Sorry, I forgot to say what it is I'm trying to do.

I would like to be able to display on the same pane, a number of indicators that might show divergences, by showing the following ratios:
- the SP-500 and the Russel 2000
- the SP-100 and the SP-600
- the Russel 1000 and the Russel 2000

I have the following code, but it overlays the plots on top of one another. Using separate panes would mean that I would need to use four separate AFLs - not a problem, but not so clean as having everything together:

SPX = Foreign("SP-500", "C");
RUT_SPX = Foreign("RUT-X", "C")/Foreign("SP-500","C");
OEX_SML = Foreign("OEX", "C")/Foreign("SML--X","C");
RUI_RUT = Foreign("RUI-X", "C")/Foreign("RUT-X","C");

Plot( SPX, "SPX", colorWhite );
Plot( RUT_SPX, "RUT-SPX", colorBrightGreen, styleLine | styleOwnScale );
Plot( OEX_SML, "OEX-SML", colorOrange, styleLine | styleOwnScale );
Plot( RUI_RUT, "RUI-RUT", colorLightBlue, styleLine | styleOwnScale );



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___