Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Divergence spotter

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

    #31
    Thanks isitpossible. Backtesting results seems to be great even on 15mins charts. Keep up the good work.

    Comment


      #32
      Adding To A Strategy...

      Originally posted by Parv8 View Post
      Thanks isitpossible. Backtesting results seems to be great even on 15mins charts. Keep up the good work.
      I am trying to utilize the D3Spotter in a strategy I am creating using the wizard (not a programmer). Can anyone advise as to how to set this up so that it will consider the condition to be true in my strategy. (a screen shot would be awsome)

      Thanks in advance..

      Comment


        #33
        Hello,

        We can help you with any default indicators.
        DenNinjaTrader Customer Service

        Comment


          #34
          Originally posted by NinjaTrader_Ben View Post
          Hello,

          We can help you with any default indicators.

          OK NTBen...I am starting to really rely on this indicator. A couple questions though:

          What indicators are being used by this indicator? Are they triggered by me opening them in the trading pane or are they running "behind the scenes"?

          What significance do the red arrows play?

          Comment


            #35
            Hello Ben.

            I have been using your D3Spotter for a few weeks now and am starting to dial into how to use it effectively but I still have some questions.

            You had mentioned in the chat thread that this indicator detects divergence between price and other indicatiors (wew both know the list). Do these indicators need to be open for D3 to use them or do they run in the background?

            What do the yellow dots indicate?

            What do the arrows indicate?

            Comment


              #36
              Hi Tomy,

              Thanks for the email...but unfortunately there's a misunderstanding about who is the author of this indicator. It wasn't me...it's a good indicator, but I can't take credit for it. I don't remember who did create it, but I'm sure the Forum can help you find the source.

              Thanks again,
              Ben


              Originally posted by tomydispik View Post
              Hello Ben.

              I have been using your D3Spotter for a few weeks now and am starting to dial into how to use it effectively but I still have some questions.

              You had mentioned in the chat thread that this indicator detects divergence between price and other indicatiors (wew both know the list). Do these indicators need to be open for D3 to use them or do they run in the background?

              What do the yellow dots indicate?

              What do the arrows indicate?

              Comment


                #37
                tomy,

                This is not an indicator that I can assist you with, sorry about that. This is a custom indicator and I can only assist you with the default indicators. Someone else on this thread might help you though.
                DenNinjaTrader Customer Service

                Comment


                  #38
                  Does this work on Ninja 7 ?

                  Comment


                    #39
                    Code:
                    // In XYZ.CS
                    public class XYZ : Indicator 
                    {
                            protected override void Initialize()
                            {
                                Add(new Plot(...));
                                Add(new Plot(...));
                                Add(new Plot(...));
                                Add(new Plot(...));
                    	}
                    }
                    // IN ABC.CS
                    public class ABC : Indicator
                    {
                    	private DataSeries TheIndicator;
                    
                            protected override void Initialize()
                            {
                    		TheIndicator = new DataSeries(this);
                            } 
                    
                            protected override void OnBarUpdate()
                            {
                                  [B]TheIndicator.Set(XYZ(...)[0]);[/B] // Which Plot of XYZ gets used ??? 
                            } 
                    }
                    Can someone please tell me which Plot data series of XYZ object will be referenced in the statement in OnBarUpdate() method of ABC. This code design is also present in DivergenceSpotter.cs which is in zip attached in the first post of this thread.
                    Last edited by cdjindia; 07-29-2013, 06:08 AM.

                    Comment


                      #40
                      I received feedback from elsewhere that example code isn't clear. So here is improved versions with names spelled out

                      My query is: Which of the four plots does the [0] is referred to by statement in OnBarUpdate() method shown below. Bold Red Colored line. It calls a method a
                      defined in Indicator class along with parameters and returns my object. the [] indexer is defined in IndicatorBase class and I am unable to find its documentation. This construct is used in many places including the Divergence Spotter that is attached at beginning of this thread. In the sample code, there are 12 Indicators. I am only showing one.

                      Code:
                      // Filename: myMACD.cs
                      public class myMACD : Indicator 
                      {
                          protected override void Initialize()
                          {
                      		Add(new Plot(Color.Green, "MACD"));
                      		Add(new Plot(Color.DarkViolet, "Signal"));
                      		Add(new Plot(new Pen(Color.Navy, 2), PlotStyle.Bar, "Histogram"));
                      		Add(new Line(Color.DarkGray, 0, "Median"));
                      	}
                      	......
                      }
                      
                      public partial class Indicator : IndicatorBase
                      {
                          private myMACD[] cachemyMACD = null;
                      
                          private static myMACD checkmyMACD = new myMACD();
                      
                          public myMACD myMACD(int fast, int slow, int smooth)
                          {
                              return myMACD(Input, fast, slow, smooth);
                          }
                      
                          public myMACD myMACD(Data.IDataSeries input, int fast, int slow, int smooth)
                          {
                          }
                      }
                      
                      =================================
                      // Filename: myDivergenceSpotter.cs
                      
                      public class myDivergenceSpotter : Indicator
                      {
                      	private DataSeries TheIndicator;
                      
                          protected override void Initialize()
                          {
                      		TheIndicator = new DataSeries(this);
                          } 
                      
                          protected override void OnBarUpdate()
                          {
                      		[B][COLOR="Red"]TheIndicator.Set(myMACD(12, 26, 9)[0]);[/COLOR][/B]
                          } 
                      }
                      Last edited by cdjindia; 07-29-2013, 08:35 AM.

                      Comment


                        #41
                        good job ................................................

                        Comment


                          #42
                          Dear NT users,I need a bit of help,
                          I try to import ninja script thru the utilities tab, indicator- Divergence Spotter,from this thread & from other threads in this forum, all versions (v2,v3,v32) & I get the same error
                          evrey time( see pic. attachet) .
                          can someone help resolve this isue PLS
                          thaxxxx
                          Attached Files

                          Comment


                            #43
                            php file

                            How does one open this or download ii into the NT software?

                            Comment


                              #44
                              It shows it as a Zip file when I download it, it show has a .php extension

                              Comment


                                #45
                                Hello craunico,

                                What Internet Browser are you using?

                                Do you get the same issue if you use Chrome or Firefox?
                                Cal H.NinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by funk10101, Today, 09:43 PM
                                0 responses
                                2 views
                                0 likes
                                Last Post funk10101  
                                Started by pkefal, 04-11-2024, 07:39 AM
                                11 responses
                                36 views
                                0 likes
                                Last Post jeronymite  
                                Started by bill2023, Yesterday, 08:51 AM
                                8 responses
                                44 views
                                0 likes
                                Last Post bill2023  
                                Started by yertle, Today, 08:38 AM
                                6 responses
                                25 views
                                0 likes
                                Last Post ryjoga
                                by ryjoga
                                 
                                Started by algospoke, Yesterday, 06:40 PM
                                2 responses
                                24 views
                                0 likes
                                Last Post algospoke  
                                Working...
                                X