Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsPeriodType Number

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

    BarsPeriodType Number

    I noticed when you make a new barstype it assigns a # for BarsPeriodType

    What happens if this conflicts with another barstype ?

    #2
    Hello NinjaCustomer,

    Thank you for your note.

    Each of your bar types should have a different number passed, otherwise the 2nd duplicate will be ignored. In the statement below it would be as simple as changing 666 to another number.

    Code:
    BarsPeriod					= new BarsPeriod { BarsPeriodType = (BarsPeriodType) 666, BarsPeriodTypeName = "AlanPercentBarType", Value = 1 };
    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by zacharydw00, Today, 05:14 PM
    0 responses
    5 views
    0 likes
    Last Post zacharydw00  
    Started by shahabjet1, Today, 04:47 PM
    0 responses
    10 views
    0 likes
    Last Post shahabjet1  
    Started by aligator, Today, 04:32 PM
    0 responses
    10 views
    0 likes
    Last Post aligator  
    Started by timko, Today, 04:02 PM
    0 responses
    9 views
    0 likes
    Last Post timko
    by timko
     
    Started by asmmbillah, Today, 03:37 PM
    2 responses
    17 views
    0 likes
    Last Post asmmbillah  
    Working...
    X