Hello,
To solve the problem mentioned in the post below, I've ported the code
to Excel. A AFL formula is used to open Excel and run the macro (with
vbscript).
But now I have a new problem. Amibroker seems to halt until the macro
finished its calculation. And if the macro takes too long to finish,
Amibroker will popup a dialog box asking me to either "switch to" that
application, or "Retry".
I think the problem is in the OLE vbscript, because the
Excel.Application.Run("some macro") method do not return until the
macro is finished.
I wonder if anyone can help?
Thank you.
--- In [email protected], "sonyfanaticsss"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've 6 formulas running in my active window now, and when I scroll the
> chart with my mouse button there is a very noticeable lag in the
> redraw speed. The top chart draws first and the bottom chart last. I
> think it takes almost one second for the bottom chart to update with
> new plots and values.
>
> I wonder if I have hit the AFL execution limit, or is this just normal
> phenomenon?
>
> Thank you very much for your help.
>