Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

question

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

    question

    had a problem with writing script, i read in the forum that i needed to erase all files uninstall, now that i am up and running again it simply says error generating script.

    i want a fix, ninja is getting a little old at this point, errors at every turn.

    #2
    Hi bskogz12,

    Thanks for the post. Did you manually delete the Documents\NinjaTrader 7 folder after uninstalling? If this folder isn't manually deleted, then any errors in the old installation will be there when you reinstall.

    Please see this post for help identifying and resolving programming errors:


    If you are unsure how to remove or resolve any specific errors, post a screenshot of the editor with the errors visible and we can provide next steps.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Click image for larger version

Name:	SCREENSHOT1.PNG
Views:	1
Size:	73.4 KB
ID:	862822


      I might be making this more complicated than it needs to be, im trying to get my keltner channels and macd signals to come from the rifin index then trigger buys on the etf fas. If im way off base on what im showing you then ill try and find another solution.

      any advice helps...thanks

      Comment


        #4
        To fix that compile error, remove the Add() statement from OnBarUpdate().

        If RIFFIN is a custom index that you added, it's formatted as "^RIFFIN".

        Conditions will not automatically be evaluated on secondary series. You need to work with BarsInProgress to filter a specific series updating, or reference secondary series values using objects like Closes[1][0].

        There is a sample MultiSeries strategy built into all installations. Click Tools > Edit NinjaScript > Strategy > SampleMultiInstrument. Documentation for this is available here:
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by geddyisodin, 04-25-2024, 05:20 AM
        8 responses
        60 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        4 responses
        3,287 views
        1 like
        Last Post jgualdronc  
        Started by Option Whisperer, Today, 09:55 AM
        0 responses
        5 views
        0 likes
        Last Post Option Whisperer  
        Started by halgo_boulder, 04-20-2024, 08:44 AM
        2 responses
        22 views
        0 likes
        Last Post halgo_boulder  
        Started by mishhh, 05-25-2010, 08:54 AM
        19 responses
        6,189 views
        0 likes
        Last Post rene69851  
        Working...
        X