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

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



PureBytes Links

Trading Reference Links

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/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/