Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem in ninja builder strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem in ninja builder strategy

    Hello, i've a question about a ninja strategy, why ninja bot take 2 orders shorts and 1 buy, after 3 buy and 1 short, the strategy is broken because bot don't close a buy order when i've 3 orders in same time.
    Thanks a lot.
    Attached Files

    #2
    Hello SENECHAL,

    We would need more details about what conditions you made to be of help here. An image of the chart won't tell us why the strategy is working in that way. If the conditions you made to trade are not working as expected you may need to revisit those sets and verify the conditions that you made are happening at the appropriate time.

    Comment


      #3
      thanks for your response i post the code

      Attached Files

      Comment


        #4
        Hello SENECHAL,

        The code you provided is not valid, you are trying to do too many actions at once. You cannot EnterLong and EnterShort in the same condition. The same goes with the Exits, you should only be calling the approperiate exit when in a position. For example if you are in a long position, use a condition to check if you are long and then as the action only exit long. You never want to try and do opposite order actions in one condition.

        Comment


          #5
          Hello Jesse,

          i found the problem, bot take 2 orders because the sync is false after price touch my manual trailing stop
          i clic to enabled to reload the bot, but i would know if it's possible for bot to charging on your own.

          What 's conditions and actions for the bot to understand my Stop is manual, and it need to return at 0 after trade is closed by my stop order.

          Thanks a lot
          Attached Files
          Last edited by SENECHAL; 05-27-2023, 12:47 AM.

          Comment


            #6
            Hello SENECHAL,

            Strategies are not intended to be used with manual orders. You need to avoid manually trading if you wanted to use the strategy correctly.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            633 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            364 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            567 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X