Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Wyckoff Wave Indicator [Help Needed]

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

    Wyckoff Wave Indicator [Help Needed]

    In this forum's NinjaScript File Sharing section I found an indicator that assists in creating a custom index that can be plotted on NJ7. So I've added the necessary parameters to create the Wyckoff Wave as described on the Wyckoff Stock Market Institute's website. The problem that I'm having with it is that I don't know how to put this indicator on a chart, since it contains all the stock symbols in it. Usually the stock symbol is selected from the symbol list and then the price indicator is selected to show the price chart. I have all the stock symbols for the indicator in my NJ7 symbol list.

    The name of the indicator from the file sharing section is called "Index" and if anyone knows how to put it onto a chart, please reply. I've attached the custom "Wyckoff Wave" code for anyone who wants to try it.

    These are the parameters that I added to the code.
    Code:
    //          Plot this indicator: Wyckoff Wave: ATT*79+BAC*50+BA*39+BMY*119+CAT*35+DD*57+XOM*32+IBM*21+GE*90+F*25+UNP*30+WMT*43
        string symbolList = "ATT, BAC, BA, BMY, CAT, DD, XOM, IBM, GE, F, UNP, WMT";
       string weightList = "79, 50, 39, 119, 35, 57, 32, 21, 90, 25, 30, 43";
       double divisor = 1;
    Attached Files
    Last edited by StockJock; 04-15-2012, 05:38 PM.

    #2
    StockJock,

    I would suggest contacting the author of this indicator, as its using a lot of unsupported code.

    Hopefully they will be able to help you.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_AdamP View Post
      I would suggest contacting the author of this indicator, as its using a lot of unsupported code.
      The indicator's name is Index and no author is identified neither in the forum post nor the indicator code itself. Do you have any information of who the author is and how to contact him?

      Comment


        #4
        StockJock,

        In the indicator it says : "Kevin Doren 4/9/2011"

        Looking through the code, I noticed something that reminded me of the "Spread" indicator, namely the "synchronized data series" and the author's name there is "KDoren" in our forums. I suspect its the same person.

        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_AdamP View Post
          In the indicator it says : "Kevin Doren 4/9/2011"
          Ok. I tried to look him up in the members' list and I get an error.
          Sorry! The administrator has disabled the list of members.
          As you suggested that I contact him; so I need your help to find out how to do it.

          Comment


            #6
            StockJock,

            Please try : http://www.ninjatrader.com/support/f...ber.php?u=6971

            Looks like hes been online last week so he is still active.
            Adam P.NinjaTrader Customer Service

            Comment


              #7
              You can put the Index indicator on any time-based chart. The chart's primary instrument (which is not used in the calculation) should be an active instrument of the time period you want, i.e. a 5-min chart of "SPY".

              The SymbolList and Weightlist should have commas between symbols, but NO SPACES.

              All symbols must be defined in the Instrument Manager. If any instrument can't provide data for any reason, nothing will plot.

              I recommend that you just apply the Index indicator to a chart without any spaces in the lists, and not try to hard-code it yourself. If you do, you should give it a different name (right-click and "save as"), otherwise it will get confusing.

              -Kevin

              Comment


                #8
                kdoren,

                Thank you!
                Adam P.NinjaTrader Customer Service

                Comment


                  #9
                  My customized indicator is named WyckoffWave.cs and I'm having trouble importing it into NJ7. What do I do? I put it into the custom indicator folder and NJ7 doesn't recognize it.

                  Comment


                    #10
                    StockJock,

                    You will need to change places where it has "Index" to your new indicator name.

                    For example : public class Index : Indicator

                    Otherwise it will be a duplicate method if you have "Index" installed.
                    Adam P.NinjaTrader Customer Service

                    Comment


                      #11
                      Do you mean change the code from: public class Index : Indicator to public class Index : WyckoffWave

                      Also do I need to make it into a zip file?
                      Last edited by StockJock; 04-16-2012, 01:31 PM.

                      Comment


                        #12
                        StockJock,

                        Thats only for if you need to import it on another machine. Generally, its not recommended to create these yourself as the tool to do so is in File > Utilities > Export NinjaScript.

                        You need to go through that code and change the "Index" names to the name of your indicator file which is "WyckoffWave", but be sure not to include the ".cs" part.

                        So it should look like : public class WyckoffWave : Indicator

                        There will be several other locations in that file you will need to change as well from "Index" to "WyckoffWave".
                        Adam P.NinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by NinjaTrader_AdamP View Post
                          There will be several other locations in that file you will need to change as well from "Index" to "WyckoffWave".
                          I don't suppose that I can do a search and replace all for "Index" to "WyckoffWave" to find the places to be modified?

                          Comment


                            #14
                            StockJock,

                            Yes, you can do this.

                            Control + F is the text finder.
                            Adam P.NinjaTrader Customer Service

                            Comment


                              #15
                              Originally posted by NinjaTrader_AdamP View Post
                              Yes, you can do this. Control + F is the text finder.
                              Yes, I did that and it still doesn't work. So I went back to the file named index.cs and used that and it still didn't work.

                              I first created a new chart with SPY and then added the modified indicator. At first it had data backfill errors and then it didn't display anything.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by f.saeidi, Yesterday, 12:14 PM
                              9 responses
                              23 views
                              0 likes
                              Last Post f.saeidi  
                              Started by Tim-c, Today, 03:54 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post Tim-c
                              by Tim-c
                               
                              Started by FrancisMorro, Today, 03:24 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post FrancisMorro  
                              Started by Segwin, 05-07-2018, 02:15 PM
                              10 responses
                              1,772 views
                              0 likes
                              Last Post Leafcutter  
                              Started by Rapine Heihei, 04-23-2024, 07:51 PM
                              2 responses
                              31 views
                              0 likes
                              Last Post Max238
                              by Max238
                               
                              Working...
                              X