Dear GP, Thanks for your help. But, it is not working.
I now wrote the following: Formula1 = IIf(Cum(1)==BarCount, Formula1, Null); Plot ( Formula1 , " Formula1" , colorRed , styleThick ); It does not give me the desire result. Did I write something wrong? Best regards, gakkhar ------- Forwarded message ------- From: gp_sydney <[EMAIL PROTECTED]> To: [email protected] Cc: Subject: [amibroker] Re: PLOTTING OUTPUT Date: Sun, 17 Jun 2007 08:14:52 +0530 Gakkhar, Try adding the following statement before the plot statement: Formula1 = IIf(Cum(1)==BarCount, Formula1, Null); Then you shouldn't need to include the final "Null, Null, 1" parameters in the Plot statement. Regards, GP --- In [email protected], "Vinay Gakkhar." <[EMAIL PROTECTED]> wrote: > > I am plotting output of my formula in the following way: > > Plot ( Formula1 , " Formula1" , colorRed , styleThick , Null, Null , 1 ) ; > > But this gives me a full graph for the entire period for which I have data. > > I want to get only the last one bar of the output to be plotted. > > How to do it? > > Best regards, > > gakkhar > 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:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
