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:	72
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 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