Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

toggle CalculateOnBarClose using a bool inside OnBarUpdate chapter

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

    toggle CalculateOnBarClose using a bool inside OnBarUpdate chapter

    Hello,

    Weird question : would there be a trick to toggle CalculateOnBarClose as a bool parameter inside the OnBarUpdate chapter ?

    like

    if (cobc) CalculateOnBarClose=True
    else CalculateOnBarClose=false

    Obviously, those simple lines don't work.

    Thanks a lot

    #2
    Unfortunately not SARdynamite - however an often used way to achieve both intrabar / end of bar calcs is revealed here -

    http://www.ninjatrader.com/support/f...ad.php?t=19387
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by op1031, Yesterday, 05:16 PM
      1 response
      8 views
      0 likes
      Last Post NT-Roland  
      Started by sinpeople, Today, 07:20 AM
      1 response
      3 views
      0 likes
      Last Post NT-Roland  
      Started by Frank1000, Today, 03:05 AM
      1 response
      7 views
      0 likes
      Last Post NT-Roland  
      Started by ntdev, Today, 01:14 AM
      4 responses
      16 views
      0 likes
      Last Post ntdev
      by ntdev
       
      Started by ct, Today, 02:22 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jason  
      Working...
      X