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

Re: [amibroker] Re: Elder Triple Screen



PureBytes Links

Trading Reference Links

There is no way to "direct" custom indicators to any particular pane but you
can copy your favorite custom indicator to one formula window and use
Param() to selectively enable & disable which ever indicators you like to
see in your single pane. To keep things simple you would then save this
multiple-choice indicator in an include file so that you can call it up with
just one single line of code. Example:
Indicator0 = Param("Bloce Bars On/Off",1,0,1,1);
if(Indicator0) Plot(C,"Close",1,128);
Indicator1 = Param("RSI(8) On/Off",0,0,1,1);
if(Indicator1)
{
Scale=500;
Plot(RSI(8),"RSI(8)",4,1|styleOwnScale,0,Scale);
Plot(100,"",1,1|styleOwnScale,0,Scale);
Plot(70,"",1,1|styleOwnScale,0,Scale);
Plot(30,"",1,1|styleOwnScale,0,Scale);
}
Indicator2 = Param("CCI(9) On/Off",0,0,1,1);
if(Indicator2) Plot(CCI(8),"CCI(8)",1,1);
Indicator3 = Param("EMA(C,8) On/Off",0,0,1,1);
if(Indicator3)
{
Plot(EMA(C,8),"EMA(C,8)",1,1);
// ... place more than one-line code in brackets
}

herman


  -----Original Message-----
  From: John Nelson [mailto:trader@xxxxxxxxxxxxxxx]
  Sent: Sunday, August 29, 2004 2:00 AM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: [amibroker] How to chart multiple customer indicators?


  All,

  I hope I have the lexicon down right. I would like to chart multiple
  indicators into multiple indicator windows, not just the one customer
  indicator window I plot in today. That way I can plot MACD, Stochastics,
  Bollinger Bands, etc in their own windows with their own price scales.
  I'd like to do this from a single AFL indicator function (which has been
  optimized, so all of the indicators are customized).

  In AFL there doesn't seem to be a way to direct Graph0, Graph1,
  Graph2... etc into specific panes being charted. I looked at Plot but
  that doesn't seem to be the answer either.

  -- John




  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

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

    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/