Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get weeks number?

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

    How to get weeks number?

    Hi,
    How to get the week's number in NinjaScript?

    Thanks in advance.

    #2
    Hello bassam,

    Thank you for your post.

    Are you looking for the Weekly Open, High, Low, and Close?

    I look forward to your response.

    Comment


      #3
      Thanks Patrick,

      If you look at the DataBox on Weekly chart, you'll find that every week has a number like 49/2012 or 52/2011 ... etc. How do I get that in Ninjascript?

      Trying to develop seasonality indicator and for that I need the week number.
      Last edited by bassam; 04-28-2013, 02:53 PM.

      Comment


        #4
        Hello bassam,

        Thank you for your response.

        This will require custom programming in C#. There is no supported method in NinjaScript to pull the Week's number.

        There are different ideas on how to get the week number, you can view a Google search I did on 'C# get week number' at the following link: https://www.google.com/search?q=date...w=1280&bih=939

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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        27 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        183 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        335 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        260 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X