Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Parabolic stop jumps to a weird value

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

    #16
    Hello SvenB,

    Thanks for your note.

    I am still unable to reproduce the issue after testing your strategy using the NinjaTrader Continuum connection. I attempted to run a backtest on the strategy using different date ranges for the ES instrument and was unable to reproduce the issue after 3 different tests.

    To investigate this matter further, you would need to be able to consistently reproduce the behavior you are reporting using specific data series and strategy settings.

    Please test the strategy on the Playback connection to try and reproduce the issue. Once you are able to consistently reproduce the issue using specific settings, please send me the exact steps, data series settings, strategy settings, and the date/time that the error occurs when testing with Playback.

    Then, I could use that information to reproduce the issue on my end at the same date/time in Playback to investigate what might be causing the behavior.

    Also, I see that you only have one print in your script that prints out the Stop Price of the order.

    You should also add a print to the script that prints out the value of the indicator plot after a value is assigned to it to see how the plot is evaluating. For example, the print might look like this.

    Code:
    Print("Pstop plot: " + Pstop[0]);
    If you add the Parabolic SAR indicator on a chart using the same settings as the parabolic stop in your strategy, you could compare your strategy's parabolic stop and the plot in your script to the Parabolic SAR indicator on the chart to see if they are behaving similarly.

    Let me know if I may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #17
      Hi Brandon,

      I'm testing right now and the market is closed. I'm not able to reproduce the error.


      Sven



      Last edited by SvenB; 09-09-2022, 05:19 PM.

      Comment


        #18
        So interesting... I had a similar problem. SetParabolicStop() rarely worked properly in Strategy Analyzer. When set with CalculationMode.Currency = 500, it would give losses as high as $3000. However, it works fine during Market Replay.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        71 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        143 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        76 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        47 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        51 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X