Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO order does not close operations in automated strategy

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

    #16
    Hello Tecnostudio,

    The orange (gold) color of the orders likely means these were not submitted.

    Are there errors appearing on the Log tab of the Control Center when the orders are submitted?

    What are the full error messages?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #17
      Originally posted by NinjaTrader_Jesse View Post
      Hello Tecnostudio,

      In the imagee the targets are not filled so no OCO action would happen, OCO is one cancels other and that only happens when one of the order fills. To confirm, you are seeing that 1 order stays open when one fills? We need to focus on the fill if you are saying there is a problem with OCO happening. The price reaching that point does not necessarily guarantee a fill, the market needs to trade at that price with volume and reach your place in line to fill the order for it to fill.
      Hello, any auxiliary information?

      Comment


        #18
        Hello Tecnostudio,

        Did you see any errors in the log or make sure that the orders are submitted as chelsea suggested?

        In regard to the quote of my previous message, was part of that unclear or did you have a question about that? For OCO to happen one of the orders needs to fill and close the associated position. Once that happens he other order would be cancelled. If no order was filled and the position is not closed then no OCO action will happen.

        Comment


          #19
          Originally posted by NinjaTrader_ChelseaB View Post
          Hello Tecnostudio,

          The orange (gold) color of the orders likely means these were not submitted.

          Are there errors appearing on the Log tab of the Control Center when the orders are submitted?

          What are the full error messages?
          Hello Chelsea.
          I did a new test now, as shown in the attached image.

          I enabled the strategy.
          She opened the sell order when the conditions were true.

          The OCO order programmed in the strategy with a target and stop of $150 was opened.

          The profit exit order turned gold and the loss exit order turned pink.

          The price fell and reached the take profit order, but again did not execute the exit and did not deactivate the OCO.

          I will put all the logs since the activation of the strategy below.


          _______________________________________________
          2024-10-25 14:25:59:825|1|4|Enabling NinjaScript strategy 'X2/341071643' : On starting a real-time strategy - StartBehavior=WaitUntilFlat EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=By strategy position ErrorHandling=Stop strategy, cancel orders, close positions ExitOnSessionClose=True / triggering 120 seconds before close SetOrderQuantityBy=Strategy ConnectionLossHandling=Recalculate DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=False CancelExitsOnStrategyDisable=False Calculate=On bar close IsUnmanaged=False MaxRestarts=4 in 5 minutes
          2024-10-25 14:34:19:820|1|16|Estratégia NinjaScript 'X2/341071643' Enviar ordem
          2024-10-25 14:34:19:884|1|32|Order='cb2ef051b1cc4cf0ae1bf9ad7 f8c6c63/Sim102' Name='x2' New state='Submitted' Instrument='NQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:34:19:986|1|32|Order='cb2ef051b1cc4cf0ae1bf9ad7 f8c6c63/Sim102' Name='x2' New state='Accepted' Instrument='NQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:34:19:986|1|32|Order='cb2ef051b1cc4cf0ae1bf9ad7 f8c6c63/Sim102' Name='x2' New state='Working' Instrument='NQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:34:20:047|1|32|Order='cb2ef051b1cc4cf0ae1bf9ad7 f8c6c63/Sim102' Name='x2' New state='Filled' Instrument='NQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=1 Fill price=20553.75 Error='No error' Native error=''
          2024-10-25 14:34:20:048|1|8|Execution='1fa6c1137ccc4235bccc26 5c7e69a673' Instrument='NQ DEC24' Account='Sim102' Exchange=Default Price=20553.75 Quantity=1 Market position=Short Operation=Operation_Add Order='cb2ef051b1cc4cf0ae1bf9ad7f8c6c63' Time='10/25/2024 14:34:20'
          2024-10-25 14:34:20:048|1|16|Estratégia NinjaScript 'X2/341071643' Enviar ordem
          2024-10-25 14:34:20:102|1|32|Order='6b0c4cc1840b49f4b57aa326a 5fa68d4/Sim102' Name='Stop loss' New state='Submitted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20561.25 Quantity=1 Type='Stop Market' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:34:20:102|1|16|Estratégia NinjaScript 'X2/341071643' Enviar ordem
          2024-10-25 14:34:20:177|1|32|Order='a8827ed1b7264bef9dba3886b 0b3e054/Sim102' Name='Profit target' New state='Submitted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=20546.25 Stop price=0 Quantity=1 Type='Preço Limite' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:34:20:178|1|64|Instrument='NQ DEC24' Account='Sim102' Average price=20553.75 Quantity=1 Market position=Short Operation=Operation_Add
          2024-10-25 14:34:20:204|1|32|Order='6b0c4cc1840b49f4b57aa326a 5fa68d4/Sim102' Name='Stop loss' New state='Accepted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20561.25 Quantity=1 Type='Stop Market' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:34:20:281|1|32|Order='a8827ed1b7264bef9dba3886b 0b3e054/Sim102' Name='Profit target' New state='Accepted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=20546.25 Stop price=0 Quantity=1 Type='Preço Limite' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:17:952|1|4|Chart Trader close position
          2024-10-25 14:42:17:963|1|128|Disabled strategy='X2/341071643'
          2024-10-25 14:42:17:952|1|4|Disabling NinjaScript strategy 'X2/341071643'
          2024-10-25 14:42:17:990|1|32|Order='a8827ed1b7264bef9dba3886b 0b3e054/Sim102' Name='Profit target' New state='Cancel submitted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=20546.25 Stop price=0 Quantity=1 Type='Preço Limite' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:17:995|1|32|Order='6b0c4cc1840b49f4b57aa326a 5fa68d4/Sim102' Name='Stop loss' New state='Cancel submitted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20561.25 Quantity=1 Type='Stop Market' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:18:106|1|32|Order='6b0c4cc1840b49f4b57aa326a 5fa68d4/Sim102' Name='Stop loss' New state='Cancelled' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20561.25 Quantity=1 Type='Stop Market' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:18:106|1|32|Order='a8827ed1b7264bef9dba3886b 0b3e054/Sim102' Name='Profit target' New state='Cancelled' Instrument='NQ DEC24' Action='Buy to cover' Limit price=20546.25 Stop price=0 Quantity=1 Type='Preço Limite' Time in force=DAY Oco='1fa6c1137ccc4235bccc265c7e69a673' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:18:139|1|32|Order='d6477c957c52499ba1fab5275 36ab9c8/Sim102' Name='Zerar' New state='Submitted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:18:247|1|32|Order='d6477c957c52499ba1fab5275 36ab9c8/Sim102' Name='Zerar' New state='Accepted' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:18:247|1|32|Order='d6477c957c52499ba1fab5275 36ab9c8/Sim102' Name='Zerar' New state='Working' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
          2024-10-25 14:42:18:278|1|32|Order='d6477c957c52499ba1fab5275 36ab9c8/Sim102' Name='Zerar' New state='Filled' Instrument='NQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=1 Type='Mercado' Time in force=DAY Oco='' Filled=1 Fill price=20515.5 Error='No error' Native error=''
          2024-10-25 14:42:18:278|1|8|Execution='872c2d8014dc418f9ab02c 7f5dc149d3' Instrument='NQ DEC24' Account='Sim102' Exchange=Default Price=20515.5 Quantity=1 Market position=Long Operation=Operation_Add Order='d6477c957c52499ba1fab527536ab9c8' Time='10/25/2024 14:42:18'
          2024-10-25 14:42:18:278|1|64|Instrument='NQ DEC24' Account='Sim102' Average price=0 Quantity=0 Market position=Flat Operation=Remove
          ​​
          Attached Files

          Comment


            #20
            Originally posted by NinjaTrader_Jesse View Post
            Hello Tecnostudio,

            Did you see any errors in the log or make sure that the orders are submitted as chelsea suggested?

            In regard to the quote of my previous message, was part of that unclear or did you have a question about that? For OCO to happen one of the orders needs to fill and close the associated position. Once that happens he other order would be cancelled. If no order was filled and the position is not closed then no OCO action will happen.
            I understand, but as you can see, the price reached and exceeded the order several times.

            If I do the same operation manually, it executes correctly.

            So there is no error due to not completing the order.​

            Comment


              #21
              Hello Tecnostudio,

              Do you see this happening if you use a different connection like the playback connection?

              Comment


                #22
                Originally posted by NinjaTrader_Jesse View Post
                Hello Tecnostudio,

                Do you see this happening if you use a different connection like the playback connection?

                Hello, I performed the test on a playback now and the same error happened.

                The trade started correctly, as configured in the strategy, and the OCO order was added to the trade.

                However, the take profit order was filled but did not close the operation and also did not cancel the other order.

                This same strategy was used without error a few days ago.

                And the same mistake is happening with other strategies as well.

                It appears to be an error in Ninja on my machine, but I have already removed Ninja and reinstalled the most up-to-date version and the error continues.​



                PlayBack Log
                2024-10-26 15:20:39:364|1|4|Enabling NinjaScript strategy 'X6RHL/341071650' : On starting a real-time strategy - StartBehavior=WaitUntilFlat EntryHandling=All entries EntriesPerDirection=1 StopTargetHandling=Per entry execution ErrorHandling=Stop strategy, cancel orders, close positions ExitOnSessionClose=True / triggering 30 seconds before close SetOrderQuantityBy=Strategy ConnectionLossHandling=Recalculate DisconnectDelaySeconds=10 CancelEntriesOnStrategyDisable=False CancelExitsOnStrategyDisable=False Calculate=On bar close IsUnmanaged=False MaxRestarts=4 in 5 minutes
                2024-10-26 15:22:26:609|1|16|Estratégia NinjaScript 'X6RHL/341071650' Enviar ordem
                2024-10-26 15:22:26:645|1|32|Order='ca3942e61e254d6b9dd799e09 d4074d5/Playback101' Name='RHL' New state='Submitted' Instrument='MNQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:646|1|32|Order='ca3942e61e254d6b9dd799e09 d4074d5/Playback101' Name='RHL' New state='Accepted' Instrument='MNQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:646|1|32|Order='ca3942e61e254d6b9dd799e09 d4074d5/Playback101' Name='RHL' New state='Working' Instrument='MNQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:690|1|32|Order='ca3942e61e254d6b9dd799e09 d4074d5/Playback101' Name='RHL' New state='Filled' Instrument='MNQ DEC24' Action='Sell short' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=3 Fill price=20313.25 Error='No error' Native error=''
                2024-10-26 15:22:26:690|1|8|Execution='f4b40183f0174df9be78d6 c2af3ceb96' Instrument='MNQ DEC24' Account='Playback101' Exchange=Default Price=20313.25 Quantity=3 Market position=Short Operation=Operation_Add Order='ca3942e61e254d6b9dd799e09d4074d5' Time='10/01/2024 08:00:01'
                2024-10-26 15:22:26:696|1|16|Estratégia NinjaScript 'X6RHL/341071650' Enviar ordem
                2024-10-26 15:22:26:735|1|32|Order='2ea0f9f3b7af4cdf81b10320d 50683f9/Playback101' Name='Stop loss' New state='Submitted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20338.25 Quantity=3 Type='Stop Market' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:736|1|32|Order='2ea0f9f3b7af4cdf81b10320d 50683f9/Playback101' Name='Stop loss' New state='Accepted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20338.25 Quantity=3 Type='Stop Market' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:736|1|16|Estratégia NinjaScript 'X6RHL/341071650' Enviar ordem
                2024-10-26 15:22:26:792|1|32|Order='793afb5995874db5a417d1515 d0a15ee/Playback101' Name='Profit target' New state='Submitted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=20288.25 Stop price=0 Quantity=3 Type='Preço Limite' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:792|1|32|Order='793afb5995874db5a417d1515 d0a15ee/Playback101' Name='Profit target' New state='Accepted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=20288.25 Stop price=0 Quantity=3 Type='Preço Limite' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:793|1|32|Order='793afb5995874db5a417d1515 d0a15ee/Playback101' Name='Profit target' New state='Working' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=20288.25 Stop price=0 Quantity=3 Type='Preço Limite' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:22:26:793|1|64|Instrument='MNQ DEC24' Account='Playback101' Average price=20313.25 Quantity=3 Market position=Short Operation=Operation_Add
                2024-10-26 15:23:51:297|1|32|Order='793afb5995874db5a417d1515 d0a15ee/Playback101' Name='Profit target' New state='Filled' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=20288.25 Stop price=0 Quantity=3 Type='Preço Limite' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=3 Fill price=20288.25 Error='No error' Native error=''
                2024-10-26 15:27:24:730|1|4|Disabling NinjaScript strategy 'X6RHL/341071650'
                2024-10-26 15:27:25:965|1|4|Chart Trader close position
                2024-10-26 15:27:25:989|1|32|Order='2ea0f9f3b7af4cdf81b10320d 50683f9/Playback101' Name='Stop loss' New state='Cancel submitted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20338.25 Quantity=3 Type='Stop Market' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:27:25:993|1|32|Order='2ea0f9f3b7af4cdf81b10320d 50683f9/Playback101' Name='Stop loss' New state='Cancelled' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=20338.25 Quantity=3 Type='Stop Market' Time in force=DAY Oco='f4b40183f0174df9be78d6c2af3ceb96' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:27:26:030|1|32|Order='f8e4096c35384965bdebb4d4b 185dc36/Playback101' Name='Zerar' New state='Submitted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:27:26:035|1|32|Order='f8e4096c35384965bdebb4d4b 185dc36/Playback101' Name='Zerar' New state='Accepted' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:27:26:040|1|32|Order='f8e4096c35384965bdebb4d4b 185dc36/Playback101' Name='Zerar' New state='Working' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
                2024-10-26 15:27:26:072|1|32|Order='f8e4096c35384965bdebb4d4b 185dc36/Playback101' Name='Zerar' New state='Filled' Instrument='MNQ DEC24' Action='Buy to cover' Limit price=0 Stop price=0 Quantity=3 Type='Mercado' Time in force=DAY Oco='' Filled=3 Fill price=20279.75 Error='No error' Native error=''
                2024-10-26 15:27:26:076|1|8|Execution='26af68642f6c4d5fb2bb8f 0d79e3c9da' Instrument='MNQ DEC24' Account='Playback101' Exchange=Default Price=20279.75 Quantity=3 Market position=Long Operation=Operation_Add Order='f8e4096c35384965bdebb4d4b185dc36' Time='10/01/2024 09:04:25'
                2024-10-26 15:27:26:079|1|64|Instrument='MNQ DEC24' Account='Playback101' Average price=0 Quantity=0 Market position=Flat Operation=Remove
                2024-10-26 15:27:32:585|1|4|Terminating any NinjaScript strategies invoked by Flatten Everything command
                2024-10-26 15:27:32:587|1|64|Flatten account='Playback101'
                2024-10-26 15:27:34:880|1|4|Cancel all orders account='Playback101'
                2024-10-26 15:27:41:340|1|4|Workspace Luis not saved
                2024-10-26 15:27:41:765|1|2|Playback: Primary connection=Disconnecting, Price feed=Disconnecting
                2024-10-26 15:27:41:768|1|2|Playback: Primary connection=Disconnected, Price feed=Disconnected
                Attached Files

                Comment


                  #23
                  Understand the difference between an operation opened using the automated strategy, with an OCO order using the strategy (images 1 and 2) and a manual open operation with OCO configured on ChartTrader (images 3, 4 and 5)
                  Attached Files

                  Comment


                    #24
                    Hello Tecnostudio,

                    Use the following steps to do a clean user folder test.

                    1. Exit NinjaTrader
                    2. Open the Documents folder
                    3. Rename the NinjaTrader 8 folder to NinjaTrader 8 Old
                    4. Download the installer from https://account.ninjatrader.com/download
                    5. Install the platform, this will create a new user folder.
                    6. Open the platform and create a new strategy that has SetStopLoss and SetProfitTarget being used.
                    7. Connect to the playback connection, download data and use that for testing
                    8. If you still see a problem please include an image of the strategy that was applied along with the strategy .cs file that was used

                    To revert back to your previous data use the following steps.

                    1. Exit NinjaTrader
                    2. Open the Documents folder
                    3. Rename the NinjaTrader 8 folder to NinjaTrader 8 Clean
                    4. Rename the NinjaTrader 8 Old folder to NinjaTrader 8

                    NinjaTrader looks for the folder named NinjaTrader 8 for your user data.​

                    Comment


                      #25
                      Originally posted by NinjaTrader_Jesse View Post
                      Hello Tecnostudio,

                      Use the following steps to do a clean user folder test.

                      1. Exit NinjaTrader
                      2. Open the Documents folder
                      3. Rename the NinjaTrader 8 folder to NinjaTrader 8 Old
                      4. Download the installer from https://account.ninjatrader.com/download
                      5. Install the platform, this will create a new user folder.
                      6. Open the platform and create a new strategy that has SetStopLoss and SetProfitTarget being used.
                      7. Connect to the playback connection, download data and use that for testing
                      8. If you still see a problem please include an image of the strategy that was applied along with the strategy .cs file that was used

                      To revert back to your previous data use the following steps.

                      1. Exit NinjaTrader
                      2. Open the Documents folder
                      3. Rename the NinjaTrader 8 folder to NinjaTrader 8 Clean
                      4. Rename the NinjaTrader 8 Old folder to NinjaTrader 8

                      NinjaTrader looks for the folder named NinjaTrader 8 for your user data.​
                      On October 21st I did all of this.
                      I made a backup of the Ninja folder in "Documents", removed NinjaTrader8 from my computer, restarted the machine and installed the latest version available for download.

                      So I created a simple strategy that bought at a certain time with profit and stop determined in the strategy, and tested it.

                      The same errors occurred.​

                      Comment


                        #26
                        Hello Tecnostudio,

                        Did you specifically rename or remove the NinjaTrader 8 folder before reinstalling? If you did not you would still be using the same user data folder after re installing.

                        Comment


                          #27
                          Originally posted by NinjaTrader_Jesse View Post
                          Hello Tecnostudio,

                          Did you specifically rename or remove the NinjaTrader 8 folder before reinstalling? If you did not you would still be using the same user data folder after re installing.
                          Yes, I did everything the way you indicated in the previous post.
                          But I just did it all over again.

                          It looks like I found the problem.
                          It didn't have to do with reinstalling the Ninja, nor was it a problem with the strategies.

                          After reinstalling, I did a test without adding anything to Ninja, I just created a new strategy. And it worked perfectly.

                          Then I installed other add-ons and noticed that it started to cause problems again.

                          I removed them one by one and realized that the problems with the OCO's only occurred when an indicator called "ATM Strategy Identifier" was installed.

                          I removed the indicator and everything seems to be working normally now.

                          I will do more tests and if everything continues well it will be certain that the problem was related to this third-party indicator.

                          I will inform you here to help other users who may be experiencing the same problem.

                          Thanks for the help!​

                          Comment


                            #28
                            Hello Tecnostudio,

                            The ATM strategy identifier script on the user app share has been updated, if you want to continue to use that item please try updating it and see if you still have the same issues.

                            Comment


                              #29
                              Hey there,

                              Just wanted to mention that I have the latest version of ATM Strategy Identifier and the issue still persists. Me and my developer were losing our heads for the past 1.5 months and couldn't figure out the issue. Removing ATM Strategy Identifier solved all strategies issues and everything came to life.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by NullPointStrategies, Today, 05:17 AM
                              0 responses
                              50 views
                              0 likes
                              Last Post NullPointStrategies  
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              126 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              69 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              42 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              46 views
                              0 likes
                              Last Post TheRealMorford  
                              Working...
                              X