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

IsRisingIsFalling Sample

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

    IsRisingIsFalling Sample

    Hi,

    I downloaded the IsFallingIsRising Sample from here.




    When I import and view code the private ADX ADX1 has a red scribbling line under the ADX (using Microsoft VS)

    Highlighting this reads as this.
    The Type or Namespace name ADX could not be found..(You are missing a using directive or an assembly reference)

    These are the Using Declarations in the code.

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Xml.Serialization;
    using NinjaTrader.Cbi;
    using NinjaTrader.Gui;
    using NinjaTrader.Gui.Chart;
    using NinjaTrader.Gui.SuperDom;
    using NinjaTrader.Gui.Tools;
    using NinjaTrader.Data;
    using NinjaTrader.NinjaScript;
    using NinjaTrader.Core.FloatingPoint;
    using NinjaTrader.NinjaScript.Indicators;
    using NinjaTrader.NinjaScript.DrawingTools;

    Is there one missing or do I have a problem with the assembly reference?


    Regards
    traderhawk



    #2
    Hello traderhawk,

    Thanks for your note.

    This is likely just IntelliSense in Visual Studio causing this behavior to occur.

    You would need to open this script in the NinjaScript Editor window to avoid this. You could open a New > NinjaScript Editor window, then open the Strategies folder, and select the strategy file. This will open the strategy in the Strategy Builder since that is where it was created. To view the code, click the 'View code' button in the Strategy Builder.

    Let us know if we may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by smartromain, 06-23-2024, 11:02 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Rodger908, 08-18-2022, 10:14 PM
    11 responses
    4,159 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by Shari2285, 01-16-2023, 10:44 PM
    13 responses
    1,765 views
    0 likes
    Last Post backtester831  
    Started by spottysallrite, 07-06-2023, 05:27 PM
    4 responses
    250 views
    0 likes
    Last Post backtester831  
    Started by lucyb, Yesterday, 10:38 AM
    4 responses
    22 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X