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.

    JesseNinjaTrader Customer Service

    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 JoMoon2024, Today, 06:56 AM
      0 responses
      6 views
      0 likes
      Last Post JoMoon2024  
      Started by Haiasi, 04-25-2024, 06:53 PM
      2 responses
      17 views
      0 likes
      Last Post Massinisa  
      Started by Creamers, Today, 05:32 AM
      0 responses
      5 views
      0 likes
      Last Post Creamers  
      Started by Segwin, 05-07-2018, 02:15 PM
      12 responses
      1,786 views
      0 likes
      Last Post Leafcutter  
      Started by poplagelu, Today, 05:00 AM
      0 responses
      3 views
      0 likes
      Last Post poplagelu  
      Working...
      X