Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, monk12, TipmyPip, Quad, aliswee), 1,029 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
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