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

Re: [amibroker] SelectedValue vs BeginValue



PureBytes Links

Trading Reference Links

Hi Ken,

Maybe you can modify the attached code - it plots relative price change of 
TC2K sectors, and is pretty flexible in allowing you to use different ways 
to select your time periods. If I remember right, you used to use TC2K? If 
so, it should work for you right out of the box.

Steve

----- Original Message ----- 
From: "Ken Close" <closeks@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, January 06, 2006 10:06 PM
Subject: [amibroker] SelectedValue vs BeginValue


>I would like to calculate %price change in the Title.
>
> If there is neither a vertical pole or initial range marker, I would like
> the return to be from the first data point to the current or last data 
> point
> (closing price of course).
>
> If a vertical pole is planted (click once), then I want to calculate 
> change
> from the pole to the last value.
>
> If two range markers are placed (F12 and then Shift-F12), then I would 
> like
> to calculate change from the dates (barindexes) between the range markers.
>
> I am sure this is simple, but I am having trouble telling the formula
> whether a vertical pole (SelectedValue) has been planted or whether a 
> range
> marker (BeginValue) has been planted.
>
> Any suggestions will be appreciated.
>
> Ken
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.14/222 - Release Date: 1/5/2006
>
>
>
>
>
> 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 other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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

Attachment: Description: Binary data