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 charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          66 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          149 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          99 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          286 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X