Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninja weird behavior

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

    Ninja weird behavior

    Hey, while testing a strategy with Market Replay i noticed something weird, every time conditions are met to enter the market Ninja goes:

    "O - Or - Ord - Order - Order Filed "..

    like if it was entering many operations but the settings are 1 lot, unique entries.


    SetStopLoss ("target1", CalculationMode.Ticks, initialStopLoss , false); // Default Stop
    EnterLong ( "target1" );
    SetProfitTarget ("target1" , CalculationMode.Ticks, takeProfitTarget );


    it also seem to be exiting more than once

    Click image for larger version

Name:	2stops.jpg
Views:	1
Size:	7.5 KB
ID:	904060


    not sure where to look, this doesn't seem right, what could be the reason?


    Thank you in advance.

    #2
    What shows in the executions tab? What's in the log file? Do you see multiple entries there by chance?

    Comment


      #3
      Hello kabott,

      Thanks for your post.

      Even though you are placing 1 order it looks like it has a quantity of 1000. Looking at the picture you can see two 1 lot exits and then the 3rd is 998.

      Are you intending to trade 1000? Are you trading in Forex?

      Comment


        #4
        Hi Paul, im testing it on FX market, Eur pairs, mm then how do i fix this?

        Thank you for the help!

        Comment


          #5
          hey sledge, no i see no errors in the logs, think think it has to be something related to partial fills or something like that.

          Comment


            #6
            Hello kabott,

            Thanks for your reply.

            Tools>Options>Simulator

            Make sure to set (check) "Enforce Immediate fills" and uncheck (if checked) "Enforce partial fills".

            Comment


              #7
              an other thing Paul, since i was on the simulator options i decided to delete historical trades and clean up a bit my charts by resetting it, i did but some are still there.

              Click image for larger version

Name:	tradelogs.jpg
Views:	1
Size:	45.6 KB
ID:	876417

              Comment


                #8
                Hello kabott,

                Thanks for your reply.

                If you are using more than 1 sim account make sure you have reset the correct one. If the issue persists the next step would be to do a "repair" of the database file. Tools>options>Data - select Repair DB. Then restart.

                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