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 CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    24 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    28 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X