Exiting trades when calling enterLong/short after each other

Posted By: foox

Exiting trades when calling enterLong/short after each other - 07/05/22 17:20

Hi,
first of all, thanks a lot for providing such a great tool for free. Definitely considering to get me the S version!

Unfortunately I struggle with my strategy. I tried to enterLong/enterShort only but it seems some of my earlier trades get closed when I call those functions in a later stage. As far as I can tell, there shouldn't be anything special set (enterLong/enterShort default parameters) and I also cannot find anything in the documentation. If I call solely either enterLong or enterShort, then earlier trades don't get closed.

Can anyone point me to some relevant documentation or can leave a hint what I'm missing / misunderstanding?

Thanks in advance,
regards
Posted By: AndrewAMD

Re: Exiting trades when calling enterLong/short after each other - 07/05/22 17:29

Change your Hedge mode to 2.
https://zorro-project.com/manual/en/hedge.htm
Posted By: foox

Re: Exiting trades when calling enterLong/short after each other - 07/05/22 17:47

Wow, that's it. Thanks so much for your fast and great support. Appreciate!

BR
© 2024 lite-C Forums