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 frslvr, 04-11-2024, 07:26 AM
      8 responses
      111 views
      1 like
      Last Post NinjaTrader_BrandonH  
      Started by stafe, 04-15-2024, 08:34 PM
      10 responses
      42 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by rocketman7, Today, 09:41 AM
      3 responses
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by traderqz, Today, 09:44 AM
      2 responses
      5 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by rocketman7, Today, 02:12 AM
      7 responses
      31 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X