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

[amibroker] Re: Amibroker feature - TC2007



PureBytes Links

Trading Reference Links

this might be useful:

_SECTION_BEGIN("My Level");

x1 =  SelectedValue(BarIndex());
x2= LastValue(BarIndex());
LastClose = LastValue(C);
if(x1<x2)
{	
	if( GetCursorMouseButtons() ==1)
		{
		StaticVarSet("myLevel",GetCursorYPosition());
		}
		myLevel = StaticVarGet("myLevel");
		myLine = LineArray( Min(x1, x2-10), myLevel, x2, 
myLevel, 0, 1);
		Plot(myLine, "", colorRed, styleNoRescale);
	
	Chg = (myline- LastClose)/ Lastclose*100;
	Title = "Change to MyLevel : " + NumToStr(chg, 2.2)  + " %";
}
_SECTION_END();	



--- In amibroker@xxxxxxxxxxxxxxx, bluesinvestor <abmessages@xxx> 
wrote:
>
> I want to measure risk/reward on a futures contract that requires,
> sometimes, multiple lines.  Right now I have to draw a
> line->mouseover->delete line->repeat.
> 
> Just looking to see if I can get rid of a couple of steps.
> 
> 
> On 6/13/07, Fred <ftonetti@xxx> wrote:
> >
> >   Then again you could just use Explore to get the results on a 
full
> > WatchList ...
> >
> > --- In amibroker@xxxxxxxxxxxxxxx <amibroker%40yahoogroups.com>,
> > bluesinvestor <abmessages@>
> > wrote:
> > >
> > > Please see:
> > >
> > > http://www.amibroker.com/feedback/view_bug.php?bug_id=261
> > >
> > > I agree that the functionality is available, but feel that 
there
> > should be
> > > an easier way to get this information than draw a line and then
> > mouseover
> > > (and delete if you don't need the line) and repeat to get 
another
> > calc. If
> > > you feel the same way please add your comments to the feedback
> > section with
> > > ideas to let Tomasz know.
> > >
> > > Regards
> > >
> > >
> > > On 6/13/07, Joe Landry <jelandry@> wrote:
> > > >
> > > > Draw a trendline from point A to point B, and the data tip?
> > (pop up
> > > > window) will tell you the change.
> > > > You'll have the dates, the begining value, ending value, 
change
> > in points,
> > > > and percent change.
> > > > Neat huh?
> > > >
> > > > One just has to ferret these things out. Or is it the other 
way
> > around,
> > > > they've been ferreted
> > > > and it's up to us to find out?
> > > >
> > > > HTH
> > > > Joe
> > > >
> > > > ----- Original Message -----
> > > > *From:* fredjaul0912 <fredjaul0912@>
> > > > *To:* amibroker@xxxxxxxxxxxxxxx <amibroker%40yahoogroups.com>
> > > > *Sent:* Wednesday, June 13, 2007 8:25 PM
> > > > *Subject:* [amibroker] Amibroker feature - TC2007
> > > >
> > > > One feature I like in TC2007 is being able to get a % change
> > from 2
> > > > fixed points on a chart. Very useful to compare how a stock I
> > selected
> > > > performed in a customized time period vs a general index, 
etc.
> > > >
> > > > I don't know the features name so i could be searching
> > incorrectly but
> > > > is this possible in Amibroker? If so, please tell me what 
it's
> > called
> > > > so i can read that section of the instructions.
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > >
> >
> >  
> >
>




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