Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry calc @ bar close trailing stop calc intrabar

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

    Entry calc @ bar close trailing stop calc intrabar

    Hello,

    My strategy calculates at bar close as well as my trailing stop. How can I change this so my strategy calculates at bar close and my trailing stop intrabar?

    Thanks in advance

    #2
    Hi abarb, please see the reference sample for how to separate end of bar logic from every tick logic.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Austin, this seems to be exactly what I'm looking for. One questions though, how would I call the firstickonbar method through the strategy wizard? Don't have programming knowledge so I'm working with the wizard?

      Comment


        #4
        Unfortunately not supported in the wizard directly - as a workaround you could create a simple indicator to call the FirstTickOfBar for you, you could then reference this in your entry rules where the strategy runs on CalculateOnBarClose = false.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DayTradingDEMON, Today, 09:28 AM
        2 responses
        15 views
        0 likes
        Last Post DayTradingDEMON  
        Started by Stanfillirenfro, Today, 07:23 AM
        6 responses
        23 views
        0 likes
        Last Post Stanfillirenfro  
        Started by navyguy06, Today, 09:28 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        8 responses
        32 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by helpwanted, Today, 03:06 AM
        2 responses
        22 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X