Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom indicator failed on one particular instrument

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

    Custom indicator failed on one particular instrument

    Hello,
    (1) It's strange.One of my custom indicator works fine on every instrument except 6E (It just refused to show the drawobjects). Could it be my 6E data got corrupted ? No error message shown in Log file. Please advice.

    明 け ま し て お め で と う ご ざ い ま す ( Happy New Year)

    #2
    Hello,

    Did you print() the values your passing to the Draw method. What are they printing?

    Use Print() to output the values the Y and Bars Ago or Time that the Drawing object should appear, what are these values outputted?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hi Brett,
      (1) I've done the Print output. They're the correct values I desired for about ten instruments I've tried but not for 6E, all zero.

      Comment


        #4
        Hello,

        Can you please post the lines you are printing and the code your using to Draw.

        As you may be incountering a rounding issue or something like that as I know there is such an issue with this with some methods, as .00 it is rounded too however 6E requires .0001 for example and the last two digits get removed with the 6E. This your objects are drawing at 00.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        109 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        40 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        77 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X