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:	66
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 NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      62 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      134 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      75 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