[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: intraday % change



PureBytes Links

Trading Reference Links

Patrick, that solution is quite involved. It even requires me to manually, intelligently change the periods every time..

there must be a better way to do this? I imagine many others are interested in this for intraday trading.. should be a simple problem


--- In amibroker@xxxxxxxxxxxxxxx, "NW Trader" <ta4charts@xxx> wrote:
>
> 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: amibroker@xxxxxxxxxxxxxxx 
>   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
>




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

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

<*> 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@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/