It does work if you were to just replace array with C or any other array and 
period with 21.

Plot( IIf( BarIndex() >= BarCount - 21, EMA( C, 21), Null ), "", 
colorAqua );

Cheers

Prashanth

----- Original Message ----- 
From: "osp2osp" <[email protected]>
To: <[email protected]>
Sent: Wednesday, April 21, 2010 10:39 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