I noticed sometimes in the performance monitor window the total running time jumps mysterious. So I striped my trading script down to a very simple one. Because I suspect it is caused by the sym() and inv() in EFS2, so the testing script only display the volume of another symbol. ( I tested it on "NG K8=1,1" chart to show the volume of "UNG". I don't know why in eSignal status bar it should "Sym 3". Anyway, the screenshot displays all windows on my screen. In the UNG,1 chart, the esignal basic study "Volume" was applied, while on NG K8=1,1 chart, my testing script was applied.
In the formula output screen, when UNG volume is accessed by setting the value of the variable "instrument" to "UNG", it can be seen sometimes the testing script printed out non zero dms, which really puzzled me. While when setting "instrument" to "NG K8=1" so that only volume(-1) was called, then nothing was printed out (as long as my test was running). Also it seems the non-zero dms values were printed out when the new incomming ticks were the first tick in a minute (not 100% sure about this), so I suppect that the implementation of sym() and inv() in EFS2 engine somehow comsumed too much CPU power while trying to allign the series of two symbols ( basically NG has data for the new minute while UNG does not yet or vice versa.
Another thing I can not explain is it seems when more charts running at the same time, for example, with CL K8,1 chart to show USO, ZG M8,1 to show GLD,1 volume, etc., the value of dms printed out may decrease. I have not find out the pattern yet. Generally the value of dms printed out may vary from about 100ms to 15ms (the minimum I observed).
Please confirm what I observed and give some explanation. If this was really caused by the EFS2 implemeation bug of sym() and inv(), it may help to lower the lagging and slowing of eSignal in some scenarios.
- Clearpicks
In the formula output screen, when UNG volume is accessed by setting the value of the variable "instrument" to "UNG", it can be seen sometimes the testing script printed out non zero dms, which really puzzled me. While when setting "instrument" to "NG K8=1" so that only volume(-1) was called, then nothing was printed out (as long as my test was running). Also it seems the non-zero dms values were printed out when the new incomming ticks were the first tick in a minute (not 100% sure about this), so I suppect that the implementation of sym() and inv() in EFS2 engine somehow comsumed too much CPU power while trying to allign the series of two symbols ( basically NG has data for the new minute while UNG does not yet or vice versa.
Another thing I can not explain is it seems when more charts running at the same time, for example, with CL K8,1 chart to show USO, ZG M8,1 to show GLD,1 volume, etc., the value of dms printed out may decrease. I have not find out the pattern yet. Generally the value of dms printed out may vary from about 100ms to 15ms (the minimum I observed).
Please confirm what I observed and give some explanation. If this was really caused by the EFS2 implemeation bug of sym() and inv(), it may help to lower the lagging and slowing of eSignal in some scenarios.
- Clearpicks
Comment