something is wrong with the sqKAMA indicator, there is a bug in the USDCAD pair for this robot
Attachments
Screenshot_1.png
(107.81 KiB)
  • Votes +3
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

Rr
#1

Partizanas

07.03.2022 20:28

Task created

E
#2

Emmanuel

10.03.2022 04:05
Voted for this task.
Rr
#3

Partizanas

13.03.2022 17:22
Voted for this task.
Rr
#4

Partizanas

14.03.2022 17:22

Attachment Screenshot_1.png added

Screenshot_1.png
(88.24 KiB)
same sqIchimoku and sqgannHiLo
o
#5

Enric

28.07.2022 19:53
Voted for this task.
g
#6

Lee Guan Chuan

07.09.2022 06:00

Status changed from New to Fixed

g
#7

Lee Guan Chuan

07.09.2022 08:20
Hi Partizanas,


  • I have slightly updated the SqKAMA indicator. However, it is not performance related, it is just solving the warning from the editor.
  • I have checked the code, the code uses IndicatorCounted to prevent the indicator from recalculating the value. Besides, the logic doesn't contain any long processing logic. There is possible long processing when the user sets a higher value to kama_period which causes the loop longer. I have tested with kama_period 1000 which is okay as well.
  • I have researched this topic. When the PC memory is low, we can easily get this error even if the indicator is well coded. Too many running EA or indicators can cause it. If that happens, the user needs to monitor the PC memory and consider upgrading the memory size. Besides, some MT4 users have suggested we lower the max bars in the chart to lower the memory. 
  • We cannot hide/ignore the message due to that message is from MT4

Thank you.


Votes: +3

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please