I had a look through the code and cannot find anything wrong.thomas1386 » Fri Mar 06, 2020 3:25 pm wrote:Hello Steve,
maybe I am doing something wrong - but it seems to me that deskys "maximum trading pairs safety feature" at version 4 does not work properly. The last version I have used is 3x and it worked as it should. Then I updated to version 4 and noticed that desky opened much more positions than allowed. I have updated to version 4f to use the latest version but it is the same problem - desky opens more orders than allowed.
I am using grid trading with only one grid stop order atr calculated.
Ii is no great problem because I can still use V3x. I just wanted to let you know about this.
I will attach my desky setfile.
Thomas
The only function that ultimately sends a trade that does not include a max pairs check before sending, is the CT function. Yours is disabled, so the problem is not there.
No idea what is causing your problem.