Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error: Assertion Failed, indicator = 'StrategyPlot'

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

    Error: Assertion Failed, indicator = 'StrategyPlot'

    I keep having this error (see file attached) when updating a multi-timeframe and muti-instrument strategy on the SP500.

    BarsArray[0] = 15min (SP500)
    BarsArray[1] = 1min (SP500)
    BarsArray[2] = 1min (USD/EUR)

    A plot is drawn based on variables which are defined as double and filled with values from BarsArray[1].

    The error does not occur when not loading the USD/EUR as a second instrument (i.e. BarsArry[2]).

    Do you have any idea what the problem could be?

    Thanks, Georg.
    Attached Files

    #2
    Hello P-Sionic,

    Thank you for writing in.

    Can you please export your strategy so I may test it on my end?

    To export your script do the following:
    1. Click File -> Utilities -> Export NinjaScript
    2. Enter a unique name for the file in the value for 'File name:'
    3. Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
    4. Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message


    By default your exported file will be in the following location:
    • (My) Documents/NinjaTrader 7/bin/Custom/ExportNinjaScript/<export_file_name.zip>


    Below is a link to the help guide on Exporting NinjaScripts.
    http://www.ninjatrader.com/support/h...nt7/export.htm

    If you do not wish to upload the strategy to a forum post, please email the strategy to platformsupport [AT] ninjatrader [DOT] com with my name and a link to this thread referenced in the body of the email.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    7 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    12 views
    0 likes
    Last Post burtoninlondon  
    Working...
    X