Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CurrentDayOHLMID with label Help Please???

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

    CurrentDayOHLMID with label Help Please???


    Hello Everyone
    I try to convert NT.7 script to NT. 8 with the help of 3 video I saw on YouTube.
    Thank you for traderpards Video.

    I am not a programmer

    is anyone can help finish this indicator or tell me what I am doing wrong Please because up to line 287 is compiled successfully
    but from line 290 till line 445 I have something wrong but I couldn't figure what is.

    The picture attached is for the indicator running on NT. 7

    NT.7 OHLMID picture.docx


    The file is zip for NT. 8 which I try to finish it.


    myCurrentDayOHLMIDwithLabel.zip


    Thank you

    Mike



    #2
    Hello Mike.A,

    Thank you for the post.

    I will list what I can see below, some of these items are simple changes but there are a couple items you will have to review.

    GetLastBarSessionDate does not exist. I am not certain if this was in the other script as a method, if so that is not currently moved over to your new script.

    pivotRangeType1 is missing, you need to declare this variable. Try using Control + F in the original script to see where all this was used.

    The FirstTickOfBar and FirstBarOfSession now have Is in their name: IsFirstTickOfBar IsFirstBarOfSession:




    Setting plots requires using a BarsAgo instead of Set:

    Code:
    CurrentOpen.Set(currentOpen);
    would become 
    CurrentOpen[0] = currentOpen;
    You are missing some of the series/plots like the following, these need to be defined. Again look in the original script and see where these were used:
    CurrentMidline
    UDNL
    LDNL
    UDET
    LDET

    Bars.Session.GetNextBeginEnd would need to be change to use the session iterator instead. You can find an example of how the sessioniterator is used here: https://ninjatrader.com/support/help...oniterator.htm


    I look forward to being of further assistance.

    Comment


      #3
      HI Jesse
      Thank you for your help, you always step to help before and now

      I attach the original file after I clean it and delete some of it I don't need like noise ...etc and was compiled successfully

      myanaCurrentDayOHLV43.zip


      and here the very original file with all the code including noise and different stuff I don't need

      anaCurrentDayOHLV43.zip

      I will try to figure out what I missing and hope I will be able to finish it to post it

      Thank you very much for your help

      Mike

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      672 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      379 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      111 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      577 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      582 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X