Graham, I'm sure #include would work, but I am having a problem just including the indicator into my system. The system is not recognizing the indicator. I have the following formula as a custom indicator and I have included the entire indicator formula into a system. The last line of the formula for the indicator is:
CI = 100 * (ATRSUM/RANGE)/(periods); The problem occurs in the system where: Buy = Cross (High, BuyUpper) AND CI > 50; If I used ADX or RSI where I use CI in the above Buy command, the ADX or RSI would be blue in the editor window where AB recognizes it as an indicator. It is not understanding CI and I am getting a syntax error at CI. I know I am making an elementary mistake, but I don't know what it is. Does anyone know what I am doing wrong? Thanks, James --- Graham <[EMAIL PROTECTED]> wrote: > You can include the custom indicator in your system, > or else use #include > finction to reference that indicator from its own > AFL > > > -- > Cheers > Graham > AB-Write >< Professional AFL Writing Service > Yes, I write AFL code to your requirements > http://e-wire.net.au/~eb_kavan/ab_write.htm > > On 01/09/06, jamesmemphis <[EMAIL PROTECTED]> > wrote: > > > > Hello everyone, > > > > Is there anyway to use a custom indicator you have > created in a system > > without having to replicate the indicator in the > system. For example, > > you could have a filter in your system like RSI < > 50. But it does not > > recognize the custom indicators. Is there a way to > do this? > > > > Thank you, > > James > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com 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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
