Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

need help to build simple strategy

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

    need help to build simple strategy

    CurrentDayOHL on a chart gives you, in real time, the Open for the day, the High for the day,and the Low. I need to know how to build a strategy that will BUY when the CURRENT PRICE is >= to the High FOR THE DAY. NinjaScript/ConditionBuilder/Indicators/CurrentOHL does not actually give you the High FOR THE DAY. In fact it even ask you for # of "BARS AGO", indicating that it is referencing a certain candle, NOT the DAY. Finally, I can't seem to find a way to get "current market price" as opposed to "High,Low,close,open". Need: 1)HIGH FOR THE DAY, and 2)CURRENT MARKET PRICE.

    #2
    Looking for C# tutor. 30mins to 60mins a day.

    Can work over web-viewer, skype, whatever works. Hours 10-4pm ny time.

    Comment


      #3
      maria123,

      In your condition builder, on the left select Close for the current price. On the right select Indicators>CurrentDayOHL. Then choose the High plot and that is the high value of the day. You are now comparing the current price versus high of the day.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Josh, I appreciate your reply. I'm still having a heck-of-a-time with this......can you get this to actually work on charted results? Because, when I look at the charted results....within the strategy analyzer, it doesn't "go-long" or "short" when it should.

        Comment


          #5
          maria123,

          Please be more specific as to what you have in the Condition Builder, what it is currently doing, and what you desired. Thank you. A screenshot of the Condition Builder would be easiest to see.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X