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 MacDad, 02-25-2024, 11:48 PM
        7 responses
        157 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Working...
        X