Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Name Space name could not be found

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

    Name Space name could not be found

    I cant fix this issue namespace name 'OpeningRangeBreakout' could not be found


    //This namespace holds Strategies in this folder and is required. Do not change it.

    #region Using declarations

    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 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.NinjaScript.Indicators;

    using NinjaTrader.NinjaScript.DrawingTools;

    using NinjaTrader.NinjaScript.Strategies;

    using OpeningRangeBreakout;

    #endregion


    namespace NinjaTrader.NinjaScript.Strategies

    {

    public class RangeFib : Strategy

    {

    private OpeningRangeBreakout openingRangeBreakout;

    private EMA ema9;

    private EMA ema21;

    private EMA ema67;

    private EMA ema97;

    private double atr;

    private double entryPrice;

    private double stopLossPrice;

    private double takeProfit1Price;

    private double takeProfit2Price;

    private double takeProfit3Price;



    Last edited by SevanKambel; 03-04-2023, 12:08 PM.

    #2
    Hello SevanKambei,

    Thanks for your post.

    Please remove the Using statement 'using OpeningRangeBreakout;​' from the script and run a compile in the NinjaScript Editor window.

    This is likely not a valid Using statement and could likely be removed from the script.

    If you are trying to access a third-party indicator called OpeningRangeBreakout in a custom NinjaScript, please reach out to the developer of the third-party script for information about how to use their script in a custom NinjaScript strategy.

    Let me know if I may assist further.
    Last edited by NinjaTrader_BrandonH; 03-05-2023, 05:42 PM.
    <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, Yesterday, 05:17 AM
    0 responses
    58 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X