Announcement

Collapse
No announcement yet.

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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X