Hi Maththewkho, Add the following to your exploration code (the P is a parameter which will let you define the length of the comparison period, delete this line and substitute 1 in the Addcolumn argument if you know that you will only want a one day delta) :
P = Param( "Periods", 1,1,50,1); AddColumn( ( (C-Ref(C,-P))/Ref(C,-P))*100,"% Delta from "+WriteVal(-P,1) , 3.2, colorYellow,colorGreen); Peace and Justice --- Patrick ----- Original Message ----- From: matthewkho To: [email protected] Sent: Wednesday, October 21, 2009 6:54 PM Subject: [amibroker] intraday % change for exploration, how would I get a stock's % change from previous day's close? ------------------------------------ **** 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
