• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
        Patrick H.NinjaTrader Customer Service

        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.
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              Thanks,

              My emai:
              [email protected]

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by ralett, Today, 03:09 PM
              1 response
              2 views
              0 likes
              Last Post NinjaTrader_ChristopherJ  
              Started by martyn73, Today, 02:54 PM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Started by Zigfried, Today, 01:59 PM
              3 responses
              9 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by giogio1, 11-10-2019, 11:21 PM
              2 responses
              30 views
              0 likes
              Last Post bltdavid  
              Started by w0lverine, Today, 12:39 PM
              4 responses
              9 views
              0 likes
              Last Post w0lverine  
              Working...
              X