Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Losing my mind: Can't bring an indicator into my strategy

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

    #16
    Hello thaison316,

    You would also need to use the indicator from OnBarUpdate to have it calculate, your sample is not currently using the indicator in any way besides adding it to the chart. If you uncomment the condition you had added then it should appear visually however you are using it like it has plots which it does not. That will cause an error because you have no plots but you try to access data.
    You could instead use
    Code:
    SecondEntryV21.Update();

    Please let me know if I may be of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #17
      Thanks, this solved my issue with my custom indicator not showing in my strategy.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X