Works for me.  Did you put in your variables for array and period?
  ----- Original Message ----- 
  From: osp2osp 
  To: [email protected] 
  Sent: April 21, 2010 1:09 AM
  Subject: [amibroker] Re: Restricted Plot


  Sorry, Not working.

  Warm Regards.

  K Karunakaran

  --- In [email protected], "wavemechanic" <fim...@...> wrote:
  >
  > plot( iif( barindex() >= barcount - 21, ema( array, period), null ), "", 
color );
  >   ----- Original Message ----- 
  >   From: osp2osp 
  >   To: [email protected] 
  >   Sent: April 20, 2010 3:39 AM
  >   Subject: [amibroker] Restricted Plot
  > 
  > 
  >   How to plot 21 days EMA only for the last 21 bars.  
  > 
  >   Thank you.
  > 
  >   Warm Regards.
  > 
  >   K Karunakaran
  > 
  > 
  > 
  >   ------------------------------------
  > 
  >   **** 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
  >




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

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



Reply via email to