Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modified CurrentDayOHLC indicator

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

    Modified CurrentDayOHLC indicator

    Hi,
    I'm new to NT7 with no programming experience.
    Using the "CurrentDayOHLC" it it possible to draw two additional lines (one above & one above the CurrentDayOHLC line) with user defeined width.
    Example:

    Plot (CurrentDayOHLC) line (already in NT7)
    Plot (CurrentDayOHLC + n-ticks) line
    Plot (CurrentDayOHLC - n-ticks) line

    Can you please explain how to plot all the three lines together as one indicator so that I can use this indicator for automated treading stratyegy.

    Regards,

    Ashmita Sethi

    #2
    Hello Ashmita,
    Welcome to the forum and I am happy to assist you.

    I have already replied to your email on the same query. Please refer to it.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thanks for your prompt reply.
      Please assist where to add the line " Plot0.Set(CurrentDayOHL().CurrentHigh[0] + 3 * TickSize); " as I can't modify the system indicator.
      I've just statrted in NT7.

      Comment


        #4
        Hello Ashmita,

        Thank you for your response.

        You can open the CurrentDayOHL and then right click in the NinjaScript Editor window > select Save As and give it a new name. You will then be able to edit the new indicator (which is a copy of the old one).

        Or you can create a new indicator and just call the CurrentDayOHL into the indicator and create your plots from within the new indicator.

        For a list of the Indicator Methods you can call please visit the following link: http://www.ninjatrader.com/support/h...indicators.htm

        For information on the CurrentDayOHL method please visit the following link: http://www.ninjatrader.com/support/h...nt_day_ohl.htm

        Please let me know if I may be of further assistance.

        Comment


          #5
          Thanks for your reply.
          But can you please tell me where to paste the line:
          " Plot0.Set(CurrentDayOHL().CurrentHigh[0] + 3 * TickSize); "
          if I wish to modify the system indicator.

          Comment


            #6
            Hello Ashmita,

            Thank you for your response.

            I will follow up with via e-mail.

            I look forward to assisting you further.

            Comment


              #7
              Thanks,

              My emai:
              [email protected]

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              607 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              353 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
              560 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              561 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X