Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mathematical function

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

    Mathematical function

    Dear Forum,

    I have to draw on graph NT7, a function, like on a Cartesian plane.

    I wrote an indicator that identifies some significant points, such as the minimums that are in the attached figure.

    These two points (values​​) are the parameters of an algebraic equation that plots the indicator.

    You can draw a indicator from the first point, passing through the second?

    Thanks,
    Morphy
    Attached Files

    #2
    Hi Morphy, nice work - I'm however unsure what you now need to do with the results gathered, are you looking to supply the data points identified to a custom indicator, such as an SMA for example? For this you would need to store the points / values in a DataSeries and then calculate your custom indicator on this new series.

    Comment


      #3
      Hi Bertrand,

      See everything in the file doc

      Thanks,
      Morphy
      Attached Files

      Comment


        #4
        If you like to draw a trendline from one starting point only, why not use a Ray?

        Comment


          #5
          For some reasons:

          a) I have to draw, too, other functions, not just linear

          b) For reasons of pixels, Ray is precise on points anchored, but on the extreme is incorrect.

          c) I do not know how you calculated the Ray, then I can not use it.

          Thanks,
          Morphy

          Comment


            #6
            Hi Morphy, then you would really need to custom code your objects needed - the DrawRay source is unfortunately not available. If you would like to use full C# custom drawing you could do so by overriding the default plot method, for an exmaple you can look into the CustomPlotSample we install per default with NT.

            Comment

            Latest Posts

            Collapse

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