Dear Members,
I’m experiencing a repeated warning popup in AmiBroker Professional Edition 6.93.0 (64-bit) on Windows 10 Pro 22H2 (Build 19045.5965).
I’ve intentionally marked my .afl file as read-only to prevent accidental editing. It is stored in:
C:\Program Files\AmiBroker\Formulas\Custom
On every execution, I receive the following popup:
Access to C:\Program Files\AmiBroker\Formulas\Custom\Formula 3692.afl was denied.
After clicking “OK”, the formula executes normally, with all signals, plots, and logic working correctly. However, the popup appears on every run, which is disruptive.
Things I’ve Already Tried:
Running AmiBroker as Administrator.
Moving the .afl file to a non-protected folder (e.g., C:\AmiCustom...) — same issue.
Setting file permissions using takeown and icacls.
Disabling Windows Defender real-time protection.
Testing with a simple Plot(Close, "C", colorRed) AFL — same behavior when marked read-only.
My Questions:
Is this warning expected behavior when using read-only .afl files?
Can I suppress this popup in a supported way, while still keeping the .afl file protected from editing?
Is AmiBroker attempting a write to the .afl file during execution?
I’d appreciate any guidance on whether this can be resolved.
Thank you in advance.
Best regards,
AK Aggarwal