MessageBriefly, use staticvarset() to define the value of "X" in a pane which 
can then be called by another formula in any pane by staticvarget().  See Help, 
AFL Library, and messages in this forum for fuller description and examples.

Example - 

1st pane: 
x = 5 * 32;
staticvarset("x", x); //sets value of x

2nd pane:
x = staticvarget("x"); //gets value of x
plot(x, "x", ...

Bill
  ----- Original Message ----- 
  From: David Smith 
  To: [email protected] 
  Sent: Tuesday, May 01, 2007 7:12 AM
  Subject: RE: [amibroker] Call a plot to a new window


  Hi Bill...

  I already have an indicator for my trigger, as defined in my system code

  eg 

  LongTrigger = condition1 + Condition2 etc.

  But how do I call the LongTrigger to a new plot with a new window?  It is 
possible?  At the moment my call to plot (ie Plot(LongTrigger, "Long 
Trigger".etc) comes up in the price window with all the other plots I have 
defined.

  Cheers, Dave


    -----Original Message-----
    From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
wavemechanic
    Sent: Monday, 30 April 2007 11:26 PM
    To: [email protected]
    Subject: Re: [amibroker] Call a plot to a new window



    Put trigger into staticvarset and then call it as an indicator.

    Bill

    ----- Original Message ----- 
    From: "David" <[EMAIL PROTECTED]>
    To: <[email protected]>
    Sent: Monday, April 30, 2007 8:57 AM
    Subject: [amibroker] Call a plot to a new window


    > Hi, 
    > 
    > I have my system code set up to drag & drop & show various trend
    > indicators.  Does anyone know if I can also call within the code to
    > plot an indicator or trigger I want to show but in a new window (ie
    > like inserting a new indicator).
    > 
    > The plot I am trying to call is
    > 
    > Plot(IIf(LongTrigger,1,IIf(ShortTrigger,-1,0)),"Triggers",styleHistogram,
    > colorWhite, styleLeftAxisScale);
    > 
    > Thanks, David
    > 
    > 
    > 
    > Please note that this group is for discussion between users only.
    > 
    > To get support from AmiBroker please send an e-mail directly to 
    > SUPPORT {at} amibroker.com
    > 
    > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
    > http://www.amibroker.com/devlog/
    > 
    > For other support material please check also:
    > http://www.amibroker.com/support.html
    > 
    > Yahoo! Groups Links
    > 
    > 
    > 
    > 
    > 
    > -- 
    > No virus found in this incoming message.
    > Checked by AVG Free Edition. 
    > Version: 7.5.467 / Virus Database: 269.6.2/780 - Release Date: 4/29/2007 
6:30 AM
    > 
    > 

   


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.467 / Virus Database: 269.6.2/781 - Release Date: 4/30/2007 9:14 
AM

Reply via email to