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 abelsheila, 05-14-2025, 07:38 PM
    2 responses
    29 views
    0 likes
    Last Post hglover945  
    Started by nailz420, 05-14-2025, 09:14 AM
    1 response
    57 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by NinjaTrader_Brett, 05-12-2025, 03:19 PM
    0 responses
    326 views
    1 like
    Last Post NinjaTrader_Brett  
    Started by domjabs, 05-12-2025, 01:55 PM
    2 responses
    62 views
    0 likes
    Last Post domjabs
    by domjabs
     
    Started by Morning Cup Of Trades, 05-12-2025, 11:50 AM
    1 response
    81 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X