Hi
I have got an AFL that uses on screen buttons to plot and save a trailing stop onto a chart. The formula has been working well for quite a while but recently it isn't saving correctly when I close Amibroker.
Here is an example of the problem.
-
I open up $spx and apply the trailing stop to the weekly chart on bar (25/9/20) and save the trail.
-
Close Amibroker
-
I restart Amibroker and I have no trail.
-
I restart Amibroker again and I now have the trail that I saved in step 1.
As another example.
-
I open up $spx and apply the trailing stop to the weekly chart on bar (25/9/20) and save the trail.
-
Close Amibroker
-
I restart Amibroker and I have no trail.
-
I decide to reapply a new trail on $spx on bar (5/3/21)
-
I close Amibroker
-
I restart Amibroker. Instead of the most recent trail that I plotted on 5/3/21 it now displays the original one that I plotted on 25/9/20
-
I close Amibroker and restart it again and it now displays the trail that I plotted on 5/3/21
I have tried uninstalling Amibroker from my computer and installing it from new. I registered it and then tried applying the trail to the default database that comes with Amibroker. The trail saved perfectly every time I closed the program. I tried approx 20 times and it always worked correctly.
I get my data from Norgate so I opened up the data updater and clicked the Amibroker integration to install the Amibroker plugin. Once I did this the trail started playing up again just like before.
I also noticed that another AFL that I have that uses a paramtrigger is doing the exact same thing.
I contacted Norgate to find out if it is an issue with the plugin but I was told that it's not that.
Can anyone please tell me what might be causing this?
I'm running Amibroker Professional 6.40 on Windows 10.
Thank you.