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

Re: [amibroker] Custom indicator call like build in indicator?



PureBytes Links

Trading Reference Links

Hi Dennis,

yes, you can, see the example:


function
myEMA(input,periods)
{
result =
EMA(input,periods);
return result;
}


Graph0 = myEMA(C,9);


Now you could copy all your function into an include file if you wish.

Regards

Thomas
www.tradingbasis.com


t_a_m_e_r wrote:
I created my own indicator and it takes two parameters.

Can I somehow make it possible to call my indicator when I build a
system or a chart just like I would call a build in indicator like
MA() or RSI().
I am trying to awoit having to copy the indicator formula in to every
system I create in case I need to make changes to the indicator some day.

My indicator takes two parameters just like the MA()
ma( ARRAY, periods )

So my indicator is called AIRY and I would like to call it like this:
airy( ARRAY, periods );

How do I do this?
_________________
Dennis 





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





  


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