Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Turn "if (Historical)" on and off

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

    Turn "if (Historical)" on and off

    If I use the statement:

    if(Historical) return;

    Does this remain in effect for the remainder of the code?

    If so, is there a way to turn historical processing back on without rearranging all the code?

    regards,

    taddypole...

    #2
    Hello,

    Yes, that would apply for the rest of the code.

    I've seen users create an public bool or enum to give you the option to turn this on/off directly from the UI.

    Please see our Reference Sample on 'Creating a user-defined parameter type (enum)':


    http://www.ninjatrader.com/support/f...ead.php?t=3420
    MatthewNinjaTrader Product Management

    Comment


      #3
      thank you Matthew...

      taddypole...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by twitch251, Today, 05:14 PM
      0 responses
      1 view
      0 likes
      Last Post twitch251  
      Started by robforee2, Today, 05:07 PM
      0 responses
      1 view
      0 likes
      Last Post robforee2  
      Started by blar58, Today, 03:16 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Melissa  
      Started by alcorr247, Today, 02:52 PM
      2 responses
      7 views
      0 likes
      Last Post robforee2  
      Started by Radano, Today, 02:30 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X