Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

bugs report - custom DataSeries, vertical Lines

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

    bugs report - custom DataSeries, vertical Lines

    Hi guys,
    two bugs to report:

    1) a legacy problem from 6.5 is still with is; it concerns creating a custom DataSeries in an indicator and then using SMA, or EMA (and possibly other moving average types) to the DataSeries. Results are baloney.
    WMA seemed ok for some reason.
    This was reported and acknowledged prior to ver 7's release, however I had cause to do such a technique last week and I had to build my own custom methods of the moving averages to get correct results. It would be great if this could be fixed once and for all.

    2) Drawing vertical lines on the chart using DrawVerticalLine() from a strategy (and perhaps from an indicator, I haven't tested it) and then reducing the vertical size of the chart window to something very small makes Ninja freeze solid.

    Cheers,
    saltminer

    #2
    I'm curious on #1. Can you post some code to reproduce?

    We just had a big discussion about this a couple weeks ago. It was mostly a misunderstanding in usage of a dataseries.



    Originally posted by saltminer View Post
    Hi guys,
    two bugs to report:

    1) a legacy problem from 6.5 is still with is; it concerns creating a custom DataSeries in an indicator and then using SMA, or EMA (and possibly other moving average types) to the DataSeries. Results are baloney.
    WMA seemed ok for some reason.
    This was reported and acknowledged prior to ver 7's release, however I had cause to do such a technique last week and I had to build my own custom methods of the moving averages to get correct results. It would be great if this could be fixed once and for all.

    2) Drawing vertical lines on the chart using DrawVerticalLine() from a strategy (and perhaps from an indicator, I haven't tested it) and then reducing the vertical size of the chart window to something very small makes Ninja freeze solid.

    Cheers,
    saltminer

    Comment


      #3
      I built a simplified code to show you the bug and of course it works fine.
      Yet my more complex example (which I can't post as it is part of a proprietary product) definitely DOES need the replacement of SMA and EMA as it doesn't function properly with the built-in methods.
      If I can get a discrete simple to understand example I will post it.
      Cheers,
      saltminer

      p.s. do you have the link handy for that other discussion?

      Comment


        #4
        wonky is the word





        Originally posted by saltminer View Post
        I built a simplified code to show you the bug and of course it works fine.
        Yet my more complex example (which I can't post as it is part of a proprietary product) definitely DOES need the replacement of SMA and EMA as it doesn't function properly with the built-in methods.
        If I can get a discrete simple to understand example I will post it.
        Cheers,
        saltminer

        p.s. do you have the link handy for that other discussion?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X