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 jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,290 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    8 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    61 views
    0 likes
    Last Post halgo_boulder  
    Started by Option Whisperer, Today, 09:55 AM
    0 responses
    8 views
    0 likes
    Last Post Option Whisperer  
    Started by halgo_boulder, 04-20-2024, 08:44 AM
    2 responses
    24 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X