Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 470 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Unusual behavior in script execution #475235
11/29/18 08:07
11/29/18 08:07
Joined: Apr 2018
Posts: 46
M
MINER Offline OP
Newbie
MINER  Offline OP
Newbie
M

Joined: Apr 2018
Posts: 46
Hello Community...

i have a script that is triggering a trade every end of bar, the script is using EMA, i set the script to trade on USD/JPY and two instances of the same script are running on the same currency pair, the most amazing thing is that the two scripts enters a trade at the same hour but they entered opposite trades.....what could be the explanation for this?

To add on this, is there a function i can add to the script such that it plots the EMA being used by Zorro on the trading platform?

Re: Unusual behavior in script execution [Re: MINER] #475239
11/29/18 09:39
11/29/18 09:39
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I cannot comment on how your script trades, but you must rename the script when you want to run 2 instances. You can plot the EMA to the Zorro chart, but not to your trade platform.

Re: Unusual behavior in script execution [Re: jcl] #475244
11/29/18 10:44
11/29/18 10:44
Joined: Apr 2018
Posts: 46
M
MINER Offline OP
Newbie
MINER  Offline OP
Newbie
M

Joined: Apr 2018
Posts: 46
Thank you jcl, for clarification the scripts are using different names....i will leave the scripts running and find out if they will still be entering opposite trades at any given entry in the next few trades.....then i will try to solve it.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1