Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Historical in MarketAnalyzer.Column ?

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

    Historical in MarketAnalyzer.Column ?

    Hello Ninja Team,

    currently I am writing a MarketAnalyzer.Column.

    I notice however that in the

    OnBarUpdate() function Historical does not work as expected!

    Historical does always return false,

    but the Time[0] value can be 7-7-2009 15.30, which is 2 days ago!

    Please can you give any hint? Is this a bug or is this expected behaviour?
    Am I wrong with the usage ?

    OnBarUpdate(){
    if(Historical) return; // will never trigger
    Print(Time[0].ToString()); // can be well in the past

    }

    If it is a bug, please tell me as I will write a fix in this case.
    Otherwise, please enlight me the workings of MarketAnalyzer.Column. If you can give an example (other than PositionManagment.cs) that would be very helpful

    Best regards

    Andreas

    #2
    Andreas,

    Unfortunately we do not support writing of columns. You should instead be writing indicators that can be added to a Market Analyzer as an Indicator column.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      OK,

      thank you!

      I better don't let you know how many undocumented features I use in my application. I see NinjaTrader as a good framework, but to get full flexibility one needs more software on top of Ninja.


      Best regards

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kaywai, 09-01-2023, 08:44 PM
      5 responses
      601 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by xiinteractive, 04-09-2024, 08:08 AM
      6 responses
      22 views
      0 likes
      Last Post xiinteractive  
      Started by Pattontje, Yesterday, 02:10 PM
      2 responses
      17 views
      0 likes
      Last Post Pattontje  
      Started by flybuzz, 04-21-2024, 04:07 PM
      17 responses
      230 views
      0 likes
      Last Post TradingLoss  
      Started by agclub, 04-21-2024, 08:57 PM
      3 responses
      17 views
      0 likes
      Last Post TradingLoss  
      Working...
      X