Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modifying CurrentDayOHL for GMT time?

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

    Modifying CurrentDayOHL for GMT time?

    Is there an easy way to do this?

    Currently it's set to what ever is on your computer, but is there a way to do this so that it doesn't screw with other indicators?

    Or is there an adjustable indicator that does this?

    Thanks,
    Forrest

    #2
    Hello,

    Your options are:
    - Modify your pc clock, as you suggest.
    - Code your own indicator.
    - Use the Constantlines indicator to plot the lines mannually.
    DenNinjaTrader Customer Service

    Comment


      #3
      What instruments do you need it for?

      Comment


        #4
        Originally posted by Harry View Post
        What instruments do you need it for?
        Mainly interested in using it on FX pairs. I've been trying to create this myself, my programming skills are horrible right now.

        I normally watch Eur/Jpy, Eur/Usd, Gbp/Jpy, Gbp/Usd.

        Why do you ask about the instruments.

        Comment


          #5
          This indicator works for fixed time intervals

          If it is FOREX, you can use this link from the forum's indicator section



          Take the indicator CMICurrentDayOHLV75. It will autodetect FOREX. The time frame for FOREX is preset to a session starting and ending at 10:00 PM GMT. If you want a different session you can change it via indicator panel. It should also autoadjust to British Summer/WinterTime.

          As any CurrentDayOHL indicators, it will not work correctly on range or volume charts, but it will be fine for fixed time intervals. If you have problems using it send me a private message. I am using it myself for FOREX.

          Comment


            #6
            Thanks Harry, this looks promising.

            I will have to mess with it after the session end today, but will it display multiple days of data? That is kinda what I need to futher develop some strategies I was working on. To see multiple days and where there high and low is.

            Thanks,
            Forrest

            Comment


              #7
              Modified version to display several days

              No Forrest, it will not display several days because of the plot method used. But I attach a modified version that will. It diplays open, high, low and midline, and if necessary Fib levels in between. I just deleted the plot override section, so it is a bit of a quick hit. Please check it carefully, before using it, as I have not tested it. Also it has those vertical lines at the session end, that could be removed by some further enhancements of the code.
              Attached Files

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              599 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              344 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              558 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              557 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X