Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Divergence line plotting?

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

    Divergence line plotting?

    Hi,

    I use Ensign Windows charting software as a supplement to Ninja. They have a study called simply "Divergence" which will identify and plot divergences (as lines) between price and an indicator of the user's choosing (In the example attached it's between price and the %D of a stochastic, but it could just as easily be the %K or any other active indicator property).

    Is there anything like this available for Ninja, and if not, is it feasible to do? How might a non-coder like myself initiate getting such a thing scripted?

    Many thanks in advance.

    5iver
    Attached Files

    #2
    Hello,

    There is a divergence indicator in this forum under file sharing>indicators.
    DenNinjaTrader Customer Service

    Comment


      #3
      Thank you Ben, I'd already messed with that when I posted but it just seemed too cryptic -- I couldn't make it do what I need, which is to plot sloping lines between divergent peaks on price and indicator properties... I will of course revisit it and see if there's something I missed first time.

      Thanks

      5iver

      Comment


        #4
        Hello,

        I know what you are looking for, and I have not seening it on our forum and I do not have one.

        The indicator I sent you to does not plot the lines, only dots when something diverges.
        DenNinjaTrader Customer Service

        Comment


          #5
          Originally posted by 5iver View Post
          Thank you Ben, I'd already messed with that when I posted but it just seemed too cryptic -- I couldn't make it do what I need, which is to plot sloping lines between divergent peaks on price and indicator properties... I will of course revisit it and see if there's something I missed first time.
          I think all that one does is plot dots where it sees divergences. If I recall, that code should retain a history of the highs and lows that created the divergence. If you know that, you should be able to call DrawLine() between the appropriate endpoints.
          -Alex

          Comment


            #6
            Hello,

            Yes, the indicator is possible to create, it just hasn't been posted on the forum yet that I know of.
            DenNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            160 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            307 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            245 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            349 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            178 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X