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

[amibroker] Re: Has anyone provided info on writing your own functions in AB?



PureBytes Links

Trading Reference Links


Barry,

Simple functions are straight-forward:
Note: don't use <>, used just to describe


Function <funcName> (parm1, parm2, parm...)
{
Global <globalVar>

return <retValue>
}

Note: I think parms are just input...

I am sure there is more to it but this will get you started...

Walt

--- In amibroker@xxxxxxxxxxxxxxx, "Barry Scarborough" 
<razzbarry@xxxx> wrote:
> 
> Is there a tutorial or writeup that someone has provided that 
> explains how to write and call user created functions in AB? I have 
> started playing around this with some of my more complex indicators 
> but it seems akward and I am not sure how to pass parms to them, or 
> if they can reference global data from a function, and what type of 
> variables they can pass back.
> 
> If there is a paper on this I can not find it by searching the 
> archive. 
> 
> Thanks





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/