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

RE: [amibroker] 3D charts from the AA and Indicators



PureBytes Links

Trading Reference Links

For any study AA you may have

Plot(C,"",1,1);
Y=Study("AA", GetChartID());//set the name of your line here
Z=DateTime();
STARTX=ValueWhen(IsTrue(Y) AND IsEmpty(Ref(Y,-1)),Z);
STARTY=ValueWhen(IsTrue(Y) AND IsEmpty(Ref(Y,-1)),Y);
ENDX=LastValue(ValueWhen(IsTrue(Y),Z));
ENDY=LastValue(ValueWhen(IsTrue(Y),Y));
Title="STARTX="+WriteVal(STARTX,formatDateTime)+
"\nSTARTY="+WriteVal(STARTY)+
"\nENDX="+WriteVal(ENDX,formatDateTime)+
"\nENDY="+WriteVal(ENDY);

Dimitris
--- In amibroker@xxxxxxxxxxxxxxx, "lamplowman" <lamplowman@xxxx> 
wrote:
> Does anyone know if you can get the trend line properties
> 
> eg.
> Start X:
> Start Y:
> End X:
> End Y:
> 
> information from the study() function for a trend line
> 
> Maybe a suggestion if not available at the moment.
> 
> 
> Thanks
> Peter



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/