Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy no longer working in 3 min

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

    Strategy no longer working in 3 min

    Hello,
    I've developped a personal strategy that I manually coded and use on a daily basis since a few months (6), on my 3 min and 15 min timeframe charts but as of today, the strategy no longer works on the 3 min timeframe chart but still working on my 15 min chart. I discovered that the strategy works on all regular intraday timeframes except for the 3 min and 4 min timeframe (4 min that I dont use). I've tried the strategy on a different existing chart to get the same result. I also duplicated a new chart to try it in another chart with the same result. I rebooted my computer and also got the same result. I verified the strategy parameters that are the same on both charts, etc.

    I really dont understand what 's the problem, as I didnt change anything in my way of opening the software and doing my things. I havent installed anything new on my computer as well. The only thing I havent done is to download NT8 and installed it back but as the strategy works on lot of timeframes except 2, I was thinking the problem could come from an update but usually, the updates are downloadable, if I'm right, that eliminate this possibility. So I'm out of ideas where to search except to report it here.

    I have a lifetime license. I work with WIN 10, 64 bits with 2 screens. I trade ES and I have 4 charts opened (3 min / 15 min / 1 hr / 1 day timeframe). The same strategy is usually assigned on 2 different charts/timeframe.I dont know if I can tell you more. I'm pretty familiar with that kind of problem and I'm usually OK to find problems on my own but not this time, it appears.

    Can you help me with this situation please. Thank you.

    #2
    Hello Bricolico,

    If the expected trade(s) are not appearing, this would indicate that the condition to place the order is not evaluating as true and the order is not being submitted, or the order is being ignored for other reasons, or the order is being cancelled.

    To understand why the script is behaving as it is, such as placing orders or not placing orders or drawing objects when expected, it is necessary to add prints to the script that print the values used for the logic of the script to understand how the script is evaluating.

    In the strategy add prints (outside of any conditions) that print the date time of the bar and all values compared in every condition that places an order.

    The prints should include the time of the bar and should print all values from all variables and all hard coded values in all conditions that must evaluate as true for this action to be triggered. It is very helpful to include a text label for each value and for each comparison operator in the print to understand what is being compared in the condition sets.

    Prints will appear in the NinjaScript Output window (New > NinjaScript Output window).

    Further, enable TraceOrders which will let us know if any orders are being ignored and not being submitted when the condition to place the orders is evaluating as true.

    I am happy to assist you with analyzing the output from the output window.

    Run or backtest the script and when the output from the output window appears save this by right-clicking the output window and selecting Save As... -> give the output file a name and save -> then attach the output from both computers to your reply.

    Below is a link to a forum post that demonstrates using informative prints to understand behavior and includes a link to a video recorded using the Strategy Builder to add prints.
    https://ninjatrader.com/support/foru...121#post791121

    Please let me know if I may further assist with analyzing the output or if you need any assistance creating a print or enabling TraceOrders.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the response but since it seems I was not precise enough, the answer is not relevant to the problem I explained. Sorry for that.

      When I said the strategy was no longer working in 3 and 4 minutes timeframe, I meant that after checking the 'Enable' box to 'load' the Strategy to the chart, the Strategy didnt want to load at all but you know what, tonight, I tried it back and everything is working fine now, like before. That's very strange considering that I rebooted my computer the same as I did today.

      Cant say what happened but I no longer require support since everything is now working fine.

      I'm sorry having bothered you for a problem that solved itself without doing anything but as long as my computer seems cursed, I'll pay attention not to trade too large amount of money so I dont see my PnL disappear, haha

      Thank you for your precious time and again, please, accept my apologies.

      Have a nice week to come.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      83 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      47 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X