Nikkei Bot getting stopped before taking trade

Forums ProRealTime English forum ProOrder support Nikkei Bot getting stopped before taking trade

  • This topic has 1 reply, 2 voices, and was last updated 9 hours ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #255204

    Hello, I am writing here in hopes of someone having a solution, because I have tried probably seven different methods myself and the bot still gets stopped before taking trades in ProOrder.

    The code is as follows:

    I am running this on Nikkei, and when putting it on demo, it gets stopped the following day with the classic error message of “This strategy was stopped because one of its orders was rejected more than the allowed number of retries. To see the reason the order was rejected, open the order list, go to the”Canceled/Rejected” tab and place your mouse over the warning icon in the “Status” column.”.
    I am aware of this error message usually showing up when there is an indicator that could have a possibility of being = 0. So I have tried different solutions in regard to that. I have also tried increasing the preloadbars, along with a few other things.

    Should be mentioned as well that I am running the bot on FTSE as well, and there it has taken trades and run smoothly.

    I am genuinely out of ideas/solutions, and hoping someone here could help, I am all open for suggestions. If you were to put it on your demo account to try a few solutions and see if something sticks, that would also be greatly appreciated.

    //Jonathan

    #255205
    JS

    It appears that the issue is most likely in the position sizing formula, where a calculated size results in a value that is invalid for the Nikkei…

    To verify whether this is indeed the case, you can temporarily set the position size to 1 and check whether the algorithm stops again…

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login