Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT needs OnBarCLose() function !

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

    NT needs OnBarCLose() function !

    I need make calculations every OnBarUpdate() but make actions OnBarCLose()....

    NT have a OnBarUpdate() function, but not a OnBarCLose() fuction.

    I am using FirstTickOfBar to simulate an OnBarCLose() function but somethings dont work correclty as the external indicators data returns.

    Please NT programmers kill "OnBarClose=true/false" and create OnBarCLose() function !!


    #2
    Originally posted by ninjo View Post
    I need make calculations every OnBarUpdate() but make actions OnBarCLose()....

    NT have a OnBarUpdate() function, but not a OnBarCLose() fuction.

    I am using FirstTickOfBar to simulate an OnBarCLose() function but somethings dont work correclty as the external indicators data returns.

    Please NT programmers kill "OnBarClose=true/false" and create OnBarCLose() function !!

    Split your calculations out into an indicator (CalculateOnBarClose=FALSE), and use CalculateOnBarClose=True for your strategy.

    Will that work?

    Comment


      #3
      Ey, works !

      Thanks sledge.


      PD: However i miss OnBarCLose() fuction

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      649 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      573 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      576 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X