The solution is to use #include_once
instead of #include That way the function is not duplicated. Bill --- In [email protected], "bilbo0211" <[EMAIL PROTECTED]> wrote: > > I am using version 5.00.1, Professional Edition. > > I am using the Ehlers Laguerre RSI from the AFL library. > > I modified it a small amount. > > It works OK except when I put a second one in the same window pane. It > gives an error and point to the last Bracket ... }... of the function. > > The original indicator has the same problem. > > I tried putting the function in a separate file and use #include > statement but get the same problem. > > Does anyone have a solution? > > Bill >
