Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How about an OnLoaded class

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

    How about an OnLoaded class

    It would save lots of time and eliminate some bugs for strategies and indicators that do not need historical bars.

    #2
    Hi Sleeping Troll,

    You can have the OnBarUpdate() start on live data only with...

    if (Historical)
    return;

    http://www.ninjatrader-support.com/H...tml?Historical
    TimNinjaTrader Customer Service

    Comment


      #3
      Yup, cool thanks!!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by tonynt, Today, 09:33 AM
      0 responses
      1 view
      0 likes
      Last Post tonynt
      by tonynt
       
      Started by minotti1, Today, 08:31 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by SmartArtsStudio, 05-15-2021, 10:46 AM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Airwave, Today, 06:02 AM
      2 responses
      19 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by bottakemoney, Today, 12:10 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Working...
      X