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 NullPointStrategies, Today, 05:17 AM
    0 responses
    38 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X