Briefly, 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 ----- 
    
    
    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
     
     
    
      
      
      
      
      
Put trigger into staticvarset and then call it 
      as an indicator.
       
      Bill
       
      ----- Original Message ----- 
      
      
      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
> 
> <*> 
      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:
>    
      mailto:amibroker-digest@xxxxxxxxxps.com 
>    mailto:amibroker-fullfeatured@yahoogroups.com> 
> <*> To unsubscribe from this group, send an 
      email to:
>    amibroker-unsubscribe@xxxxxxxxxxxxcom> 
> <*> Your use of Yahoo! Groups is subject 
      to:
>    http://docs.yahoo.com/info/terms/> 
> 
> 
> -- 
> 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