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

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 bortz, 11-06-2023, 08:04 AM
              47 responses
              1,603 views
              0 likes
              Last Post aligator  
              Started by jaybedreamin, Today, 05:56 PM
              0 responses
              8 views
              0 likes
              Last Post jaybedreamin  
              Started by DJ888, 04-16-2024, 06:09 PM
              6 responses
              18 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by Jon17, Today, 04:33 PM
              0 responses
              4 views
              0 likes
              Last Post Jon17
              by Jon17
               
              Started by Javierw.ok, Today, 04:12 PM
              0 responses
              12 views
              0 likes
              Last Post Javierw.ok  
              Working...
              X