Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Current Open plot

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

    Current Open plot

    Hi

    I am trying to modify a code in this indicator by plotting the current day's Open. It keeps plotting the prior day Open, instead. Any help in this matter?

    thanks
    Attached Files

    #2
    Hello qitrader,

    If the script is using intra-day bar intervals, you can find the current open with:
    Value.Set(CurrentDayOHL().CurrentOpen[0]);
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      not sure how to add that into the existing code

      Comment


        #4
        Hello qitrader,

        The code for this is pretty extensive and I don't see where this could easily be changed to use the current day open.

        From looking at the code it looks like the script would need to be completely re-written using the style of the CurrentDayOHL indicator.

        I recommend that you contact the author of the script and request changes.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello qitrader,

          The NinjaTrader Ecosystem partners with a number of programming consultants that offer custom coding for the NinjaTrader environment.

          Below is a link to these Certified NinjaScript Consultants. You may hover your mouse over each one for a short description.

          http://ninjatraderecosystem.com/Part...ultants.php#81

          Once you have reviewed these consultants, should you have any questions or desire an introduction please let me know and I will be happy to assist.
          JaredNinjaTrader Ecosystem

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by andrewtrades, Today, 04:57 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Started by chbruno, Today, 04:10 PM
          0 responses
          6 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Started by josh18955, 03-25-2023, 11:16 AM
          6 responses
          436 views
          0 likes
          Last Post Delerium  
          Started by FAQtrader, Today, 03:35 PM
          0 responses
          7 views
          0 likes
          Last Post FAQtrader  
          Started by rocketman7, Today, 09:41 AM
          5 responses
          19 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X