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 wjadevries, Today, 04:18 PM
    0 responses
    1 view
    0 likes
    Last Post wjadevries  
    Started by shahabjet1, Today, 03:47 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by JTizz, Today, 03:21 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by EB Worx, Today, 02:49 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by sdauteuil, Today, 02:58 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X