Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

please help convert BarType from NT7 to NT8

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

    please help convert BarType from NT7 to NT8

    Hello !

    i already converted most of my indicators from NT7 to NT8 but i have only one Problem left with the bar type i use.

    This is my Code from NT7:

    "public override void ApplyDefaults(Gui.Chart.BarsType barsData) "

    where after compiling i get this error which i translatet in english: the Name BarsType is in Namespace NinjaTrader.Gui.Chart no available.

    Please help me find the solution for this.

    Thanks in advance,

    Chris
    Last edited by sleip; 05-26-2016, 07:37 AM.

    #2
    Hello Chris,

    You may be looking for:

    Code:
    public override void ApplyDefaultBasePeriodValue(BarsPeriod period)
    {
    	//replace with any default base period value logic
    }
    
    public override void ApplyDefaultValue(BarsPeriod period)
    {
    	//replace with any default value logic
    }
    ApplyDefaultBasePeriodValue() - http://ninjatrader.com/support/helpG...eriodvalue.htm

    ApplyDefaultValue() - http://ninjatrader.com/support/helpG...faultvalue.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Yesterday, 06:46 AM
    0 responses
    14 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    23 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    16 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    51 views
    0 likes
    Last Post PaulMohn  
    Working...
    X