• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding list in Indicator

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

    Adding list in Indicator

    Hi

    When I add a list a new indicator im writing I am getting an error,

    This is my code:-

    Code:
    List<double> minBarRange = new List<double> ();
    And im getting this error:´-

    The type or namespace name 'List' could not be found (are you missing a using directive or an assembly reference?)

    #2
    Hello,

    The message you are getting is asking if you have added a using statement for the list.

    The statement would be :

    using System.Collections.Generic;

    Please ensure you have added this to the top of the script in the using statements.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by aslane, Today, 02:31 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by stoner, 10-16-2019, 01:38 PM
    5 responses
    48 views
    0 likes
    Last Post sledge
    by sledge
     
    Started by music_p13, Today, 12:04 PM
    1 response
    24 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by zaro33, Today, 10:55 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by itrader46, Today, 10:16 AM
    5 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X