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 GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,227 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X