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 terofs, Today, 04:18 PM
        0 responses
        3 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by nandhumca, Today, 03:41 PM
        0 responses
        4 views
        0 likes
        Last Post nandhumca  
        Started by The_Sec, Today, 03:37 PM
        0 responses
        3 views
        0 likes
        Last Post The_Sec
        by The_Sec
         
        Started by GwFutures1988, Today, 02:48 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by ScottWalsh, 04-16-2024, 04:29 PM
        6 responses
        33 views
        0 likes
        Last Post ScottWalsh  
        Working...
        X