Amibroker keeps on refreshing/flickering & it becomes difficult to change settings on amibroker.
This issue happens only on some machines.
Solution 1
AutoTrader refreshes amibroker every time there is live data update.
And refresh is required to update the charts with live data.
If you trade 5 minute, 10 minute or more duration intervals, please change following setting (Settings -> AutoTradrer -> AmiBroker):
AMIBROKER_RTD_PUB_INTERVAL
Set it to half of your interval time, so if you are using 10-minute charts then use 300.
10 minute chart = 10 * 60 = 600 seconds
We need half of it’s value = 600 / 2 = 300
AMIBROKER_RTD_PUB_INTERVAL = 300
For 5-minute chart, user 150 & so on. This will make sure flickering will happen only once in the interval specified. Once you change this setting, you must restart AutoTrader for the change to take effect.
If you need to keep streaming prices but want to change some settings on amibroker, then do the following:
- Go to AutoTrader home page
- Stop Live Prices
- Change your chart/strategy settings in amibroker
- Start Live Prices
We completely understand that this problem occurs because of the way AutoTrader feeds data to Amibroker. The solution to this problem requires considerable amount of development efforts. We will take this item as soon as possible to permanently fix this problem. We are currently fully occupied with other priority work items.
Solution 2
If you do not want to use live data from AutoTrader, then disable it. Go to (Settings -> AutoTradrer -> AmiBroker) menu.
Set setting AMIBROKER_RTD to OFF.
AutoTrader api functions do not have a dependency on RTD, you can use prices from any data provider. No additional changes required on AutoTrader side.