Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategies based on custom indicator is not run

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

    strategies based on custom indicator is not run

    I have a strange problem. My custom indicator calculated on VIX, working/plotting correctly. but when I use this indicator in strategy , there's no any error, it s compeled correctly, however in strategy analyser it's not run, doen't make any trades. Nothing.
    I noticed than I have the same problem with other strategy based on custom indicator that calculates other instruments (I mean, they use AddDataSeries, and their calculation doesnt depend on primary opened symbol).Earlier I use that strategy and indicator in NT7, and everything was correct, I rewrite them in NT8, and as I remember, it was working (maybe not).
    So, I see , that I have issues with varios customs indicators ( used
    AddDataSeries
    ) , in chart- plotting that indicators work correctly, but when I use them in strategy ,strategy stops working, even if I try just to plot them in strategy, without using conditions of their meaning, strategy stops working, and there is no any error.
    Please help

    #2
    Hello margandi,

    Thanks for your post.

    Please check the "log" tab of the control center when you apply your strategy for any errors that may relate to the strategy.

    Please check that you have VIX data available over the time period that you are backtesting as well as the session trading hours you are trading. You can do this by creating a chart with the trading hours you are using and load as many days back as you are backtesting.

    Once you have verified that there are no errors in the log and that you do have the data needed, the next step would be to begin debugging your strategy to see that it is processing the data expected and performing the logic as expected. You can verify this type of information by using print statements to output key information that your strategy is making entries based on. Here is a link to our debugging tips: https://ninjatrader.com/support/help...script_cod.htm

    Comment


      #3
      Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      52 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      70 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      43 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      48 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X