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 llanqui, Today, 09:59 AM
      0 responses
      1 view
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by Haiasi, Today, 09:16 AM
      2 responses
      7 views
      0 likes
      Last Post Haiasi
      by Haiasi
       
      Started by reynoldsn, Today, 09:01 AM
      3 responses
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Atlant, Today, 09:23 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by vitaly_p, Yesterday, 05:09 PM
      2 responses
      23 views
      0 likes
      Last Post vitaly_p  
      Working...
      X