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 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
    22 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X