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

Copying from another indicator

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

    Copying from another indicator

    Hi

    If I start an indicator from the wizard it shows up on both the indicator list under editor and also on the list within a chart.

    I'm also trying to use the candlestick pattern indicator to create alternative scenarios that can be called from another indicator. The problem is that when I copy the code and then give the indicator a name, say "patternBase", it shows up as PatternBase on editor but reverts back to candlestick pattern under the chart list of indicators.

    I guess two questions
    1) am I copying right - select all, copy and paste over new indicator code (deleting all automatically generated code from Wizard)
    2) why is the name reverting back to CandleStickPattern in the chart

    Many thanks for any help you can offer

    #2
    Hello fluke,

    Thank you for your note.

    Below is a link to a video that demonstrates copying a NinjaScript.


    Open the script, right-click the editor, select Save As, give a new name.

    Your copy is likely using the same string in the Name property set in State.SetDefaults.

    Below I am also providing a link to a forum post with helpful information about getting started with NinjaScript.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea worked a treat

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      3 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      9 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Working...
      X