Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RegressionChannel is an ambious error

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

    RegressionChannel is an ambious error

    hi i have this line but it complains. how can i fix it?

    private RegressionChannel regCh;

    in my regions
    using NinjaTrader.NinjaScript.Indicators;
    using NinjaTrader.NinjaScript.DrawingTools;​

    Click image for larger version

Name:	image.png
Views:	69
Size:	39.0 KB
ID:	1295170​​

    Attached Files

    #2
    I am building a strategy and using regchannel indicator

    Comment


      #3
      Hello tkaboris,

      Thank you for your reply.

      You should be able to resolve this error by using the fully qualified namespace for the indicator; this will help to distinguish that you are using the indicator and not the RegressionChannel drawing tool For example, instead of the following:
      Code:
      private RegressionChannel tes;
      You would use the fully qualified namespace as follows:
      Code:
      private NinjaTrader.NinjaScript.Indicators.RegressionChannel tes;
      Please let us know if we may be of further assistance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      46 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X