Hi, Performance is reported as poor. My loadfactor is around 180%. "Your AFL formulas take too much time to execute."
No surprise, I am not a programmer but the formulas are not so rotten. Under XP SP3 & AB 5.30.1, I have a future and two windows ( one floating and one normal displayed on dual screens) and 4 panes. Both, the same future in 20' with rsi and 5' with rsi, more or less the same indicators. The code Check & Profile shows calculations based on 460 bars (normal window) and 6000 bars (floating window). 0.008 sec (20' upper pane) 0.005 sec (5' upper pane), one fomula is lighter. 0.005 sec (20' lower pane) 0.005 sec (5' lower pane) Free Virtual memory 1963 Mb OK, why not... I display blank panes in both windows, my load factor decrease from 180 to 145 % ( minus 15% for each windows). In 5' I have 5300 bars loaded. In 20' I have 1300 bars loaded. In 1' I have 25000 bars loaded seldom if ever displayed. My database setting Numbers of Bars is 40000. My avast antivirus does check the \amibroker\data\*.* and \formulas Under Windows XP, the broker.exe load is 55% with short peaks to 70% and 587 Mb If I send the floating window in normal mode ( so two panes one windows displayed), the LoadFactor is unchanged (180%). I have unloaded useless plugins. I read the Performance tuning tips. With such a processor, may I decrease the load factor ? My poor AFL code does not explain this high loadfactor. I made tests to remove functionnalities to make the thing faster such as GFX or loops but it's peanuts. Thank you for your help. Best regards
