1 registered members (AndrewAMD),
1,248
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: New Zorro version 1.96
[Re: jcl]
#474880
11/11/18 06:06
11/11/18 06:06
|
Joined: Oct 2017
Posts: 24
Seymour
Newbie
|
Newbie
Joined: Oct 2017
Posts: 24
|
I have encountered a weird bug (version 1.960). The script below does not contain any short trades, however, if I added the My_problem line, there would be several short trades entered. As I narrow down the bug, it is the My_problem line, even though it does not do anything besides declaring a variable which is not even used later. What gets even weirder is that if I change the first letter of "My_problem" to lowercase "my_problem", the script behaves accordingly. I have tested several other variable names, and it seemed some names with first letter uppercase would cause the problem, where names with all lowercase letters normally would not.
function run() { set(LOGFILE); set(PLOTNOW); StartDate = 20120901; EndDate = 20130901; BarPeriod=240; vars P = series(price()); vars Signal=series(RSI(P,6));
var My_problem=RSI(P,30);
if(crossUnder(Signal,30)) { if(NumOpenLong<1) { enterLong(); } } }
|
|
|
Re: New Zorro version 1.96
[Re: jcl]
#474900
11/12/18 10:19
11/12/18 10:19
|
Joined: Oct 2018
Posts: 27
Mio
Newbie
|
Newbie
Joined: Oct 2018
Posts: 27
|
I meet problem again when I upgrade my VPS from dual cores to 4 cores. In dual core, it run well. After upgrading to 4 cores, it hangs. Win 10 is not the reason, but it may be something else on that system.
|
|
|
Re: New Zorro version 1.96
[Re: jcl]
#474954
11/14/18 22:35
11/14/18 22:35
|
Joined: Oct 2018
Posts: 79
SnoopySniff
Junior Member
|
Junior Member
Joined: Oct 2018
Posts: 79
|
I installed the new 1.96.4 and all freezing is gone! Thank you so much!
PS: I wish there would be a like button. ;-)
Last edited by SnoopySniff; 11/14/18 23:15.
|
|
|
Re: New Zorro version 1.96
[Re: Mio]
#474955
11/14/18 22:43
11/14/18 22:43
|
Joined: Oct 2018
Posts: 79
SnoopySniff
Junior Member
|
Junior Member
Joined: Oct 2018
Posts: 79
|
I meet problem again when I upgrade my VPS from dual cores to 4 cores. In dual core, it run well. After upgrading to 4 cores, it hangs. Win 10 is not the reason, but it may be something else on that system. I have a 2 core VPS and no problems at all with it. 3 Zorros / MT4's are running parallel on that machine without any performance issues. Even when I push the train button on weekends I have no problems. Okay. Then it's busy but still in good shape for that workload.
|
|
|
|