PureBytes Links
Trading Reference Links
|
As mentioned in the earlier replies, you must include the indicator. You can do this either by drag dropping it onto a chart and editing the resulting code (resulting in duplication of the code into the current file), or by using #include/#include_once.
Both approaches will ultimately have the same effect in that AmiBroker will internally insert the #included code, at a very slight performance cost. The advantage is that when using #include, code maintenance is much easier since you only ever have to modify a single file to make changes (as opposed to updating all the copies resulting from drag drop).
As for code completion, I believe that you would have to write your indicator as a .DLL using the developer's kit.
Mike
--- In amibroker@xxxxxxxxxxxxxxx, "rolf.spuler" <rolf.spuler@xxx> wrote:
>
> Hello
>
> I have a beginner question but I could not figure out from the user guide what I am doing wrong.
>
> I coded my custom indicator. It is showing up in the Custom folder and I can attach it to a chart. But when I try to write a simple buy/sell script in the AFL Editor it does not recognize my indicator (syntax error). It also does not show up in the auto-completion drop down (typing first char and pressing ctrl + space). Did I miss something or do I have to include the indicator somehow?
>
> Thanks for any help
>
> Rolf
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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:
amibroker-digest@xxxxxxxxxxxxxxx
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/
|