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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        118 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        166 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        85 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        130 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        89 views
        0 likes
        Last Post PaulMohn  
        Working...
        X