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 RubenCazorla, 08-30-2022, 06:36 AM
      3 responses
      77 views
      0 likes
      Last Post PaulMohn  
      Started by f.saeidi, Yesterday, 12:14 PM
      9 responses
      23 views
      0 likes
      Last Post f.saeidi  
      Started by Tim-c, Today, 03:54 AM
      0 responses
      3 views
      0 likes
      Last Post Tim-c
      by Tim-c
       
      Started by FrancisMorro, Today, 03:24 AM
      0 responses
      5 views
      0 likes
      Last Post FrancisMorro  
      Started by Segwin, 05-07-2018, 02:15 PM
      10 responses
      1,772 views
      0 likes
      Last Post Leafcutter  
      Working...
      X