- Joined
- 24 October 2005
- Posts
- 1,302
- Reactions
- 834
Re: User-definable functions -- precise usage
Welcome to ASF
If you want to use that function in other AFL's then you would save it in your "Include" folder (or any other folder but "Include" folder is called by default) then call it using the "include" function in your other AFL. All explained in the link below:
http://www.amibroker.com/guide/afl/afl_view.php?id=1
Hi,
first-time post
Welcome to ASF
But I can only get the above example to work if I have the whole function as inline code directly above the call. Clearly this is not the intention. What am I doing wrong? How/where do I save the function so that it is found by a call in another piece of code?
If you want to use that function in other AFL's then you would save it in your "Include" folder (or any other folder but "Include" folder is called by default) then call it using the "include" function in your other AFL. All explained in the link below:
http://www.amibroker.com/guide/afl/afl_view.php?id=1