Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars Since Entry

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

    Bars Since Entry

    I'm writing strategies using the wizard. My programming skills are not up to coding in C#. Is there some kind of function like a bars since entry? I'd like to test if it has been up to X bars since I entered a position, and execute at the close of 'X' bar if profit is below a threshold. Couldn't find anything like this function, but perhaps I don't know were to look.

    #2
    Lol. You guessed it exactly. It is BarsSinceEntry()

    http://www.ninjatrader-support.com/H...BarsSinceEntry


    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Bars Since Entry in the Wizard

      I can see the example coding in the provided link. I've been creating strategies using only the strategy wizard. I'm not sure how to add this into the wizard or can I even do that? Like I said in the first entry, I'm not good enough to write strategies using anything but the wizard. I guess its time to get serious about the C# tutorial.

      Comment


        #4
        This is not supported in the Wizard at this time. I believe it will be by fall.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        3 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        6 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Working...
        X