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 AaronKoRn, Today, 09:49 PM
      0 responses
      3 views
      0 likes
      Last Post AaronKoRn  
      Started by carnitron, Today, 08:42 PM
      0 responses
      8 views
      0 likes
      Last Post carnitron  
      Started by strategist007, Today, 07:51 PM
      0 responses
      9 views
      0 likes
      Last Post strategist007  
      Started by StockTrader88, 03-06-2021, 08:58 AM
      44 responses
      3,975 views
      3 likes
      Last Post jhudas88  
      Started by rbeckmann05, Today, 06:48 PM
      0 responses
      9 views
      0 likes
      Last Post rbeckmann05  
      Working...
      X