Bob,
Chances are that when you copied code your got a "wrap around". This happens a lot. Just make sure each line of code when put in the "formula editor" end with a ";". In other words the code has wrapped around and doesn't recognize the ending ";".
Dick H
--- In amibroker@xxxxxxxxx ps.com, Bob Waits <bobwaits2@x ..> wrote:
>
> I purchased Amibroker just yesterday and am tried to use this divergence indicator: http://www.amibroke r.com/library/ detail.php? id=586
>
> I am getting several errors for some reason. Can anyone help me here?
>
> Thanks.
>