Unusual behavior in script execution

Posted By: MINER

Unusual behavior in script execution - 11/29/18 08:07

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?
Posted By: jcl

Re: Unusual behavior in script execution - 11/29/18 09:39

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.
Posted By: MINER

Re: Unusual behavior in script execution - 11/29/18 10:44

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.
© 2024 lite-C Forums