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

Can someone make this incator for NinjaTrader please?

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

    Can someone make this incator for NinjaTrader please?

    I'm trying to get this indicator and went into the new indicator and was completely lost.


    Here is what I'm talking about.


    Inputs: Color(Cyan), LowColor(Yellow), ClimaxColor(Red), ChurnColor(Green), ClimaxChurnColor(Magenta), LowChurnColor(White), AvgColor(Red);
    Variables: BarColor(Cyan);

    BarColor = Color;

    Value1 = V;
    Value2 = V*Range;
    If Range <> 0 then Value3 = V/Range;
    Value4 = Average(Value1,100);

    If Value1 = Lowest(Value1,20) then BarColor = LowColor;
    If Value2 = Highest(Value2,20) then BarColor = ClimaxColor;
    If Value3 = Highest(Value3,20) then BarColor = ChurnColor;
    If Value2 = Highest(Value2,20) and Value3 = Highest(Value3,20) then BarColor = ClimaxChurnColor;
    If Value3 = Lowest(Value3,20) then BarColor = LowChurnColor;

    Plot1(Value1,"Volume",BarColor);
    Plot2(Value4,"Avg",AvgColor);

    Can someone please make this indicator? I would really appreciate it. Then it could added to indicator sharing area for everybody to use.
    Last edited by Ninja B; 05-03-2008, 11:06 PM.

    #2
    As a last resort you can also try contacting a NinjaScript Consultant here: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Ninja Trader Indicator

      Ninja B,
      You might try Ben over @ Affordable Indicators from the link that was posted.
      When it comes to customer service, Ben goes out of his way!

      I wish I could program because that indicator looks like it would be great to try with Ninja Trader. I hope one of the programmers gives it a try.
      Good luck to u.



      Comment


        #4
        Does this deliver the expected results?

        There's a hard limit of 250 for the lookback, because that's the size of the arrays I'm using. If you use larger it will fail.

        It can be changed. But that's twice what Barry is using on a tick chart. Should probably be adequate.

        Get the latest version at

        Last edited by goldfly; 05-06-2008, 09:44 PM.

        Comment


          #5
          Ninja Trader Indicator

          goldfly,
          That was like really fast!.
          I will give it a try.


          Thanks
          P.C

          Comment


            #6
            Originally posted by goldfly View Post
            Does this deliver the expected results?

            There's a hard limit of 250 for the lookback, because that's the size of the arrays I'm using. If you use larger it will fail.

            It can be changed. But that's twice what Barry is using on a tick chart. Should probably be adequate.
            This is really cool, thanks a bunch!

            The only aesthetic recommendation I can make is to have the special volume bars default to a width of 2 or 3 that way they stand out more (but I can easily tweak that myself...)

            Comment


              #7
              goldfly,
              Works great with Market replay. Can't wait to try it live.
              Elliott Wave - Changing the bar width makes it stand out nice.

              Great job


              Kudos

              P.C

              Comment


                #8
                Thanks guys.

                I have to say it really looks interesting on a one minute chart.

                I'd like for someone that has experience with it check it for accuracy before I post it to the sharing section.

                Ewave, so far I don't have the knowledge to default the bar width. I'm open to suggestions though.

                Comment


                  #9
                  Originally posted by goldfly View Post
                  Thanks guys.

                  I have to say it really looks interesting on a one minute chart.

                  I'd like for someone that has experience with it check it for accuracy before I post it to the sharing section.

                  Ewave, so far I don't have the knowledge to default the bar width. I'm open to suggestions though.

                  Regarding the default line width,

                  Instead of this:
                  Code:
                  Add(new Plot(Color.FromKnownColor(KnownColor.Blue), PlotStyle.Bar, "BarColor"));
                  I think it needs to be something like this:
                  Code:
                  Add(new Plot(new Pen(Color.FromKnownColor(KnownColor.Blue), barwidth), PlotStyle.Bar, "BarColor"));
                  I had some trouble earlier but it seems to be ok now.

                  I think it looks great an any chart : ) Its quite good when used as instructed in the video.

                  Btw the did you see this video on the same site?
                  Hilbert Sine Wave - Don't Trade Cycles Without It !

                  The Better Sine Wave Indicator is the ultimate tool for identifying price cycles and trends in trading. Works in any market and any timeframe.


                  It looks like a great indicator too! I searched for code for it but the closest I could find is C++ and Metastock.

                  Download TA-Lib: Technical Analysis Library for free. Technical analysis library with indicators like ADX, MACD, RSI, Stochastic, TRIX... includes also candlestick pattern recognition.


                  (there's a whole bunch of other code here as well: http://tadoc.org/acronyme_asc.htm)

                  These MetaStock formula pages contain a list of some of the most useful free Metastock formulas available. And they're FREE!
                  Attached Files
                  Last edited by Elliott Wave; 05-03-2008, 07:38 PM.

                  Comment


                    #10
                    Thanks a lot goldfly and Elliott Wave. I really appreciate it.

                    If you get the Hilbert Sine Wave indicator please share that too.

                    Thanks again, I really appreciate it.

                    I don't who does this but add the volume indicator to the indicator download area where everybody can use it

                    Comment


                      #11
                      But NinjaB, does it give the proper results? Do you know? Have you used it before?

                      I'd like to know it's working properly before posting it to the sharing section.

                      Comment


                        #12


                        OK, I'm yanking the file from here and posting it as Beta in the download section.

                        That way maybe we can find someone who will be able to compare the output of both the original and my hack to see if they correspond.

                        I also tightened up the code a little bit. And added some comments.
                        Last edited by goldfly; 05-06-2008, 09:46 PM.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by alifarahani, Today, 09:40 AM
                        3 responses
                        15 views
                        0 likes
                        Last Post NinjaTrader_Jesse  
                        Started by RookieTrader, Today, 09:37 AM
                        4 responses
                        17 views
                        0 likes
                        Last Post RookieTrader  
                        Started by PaulMohn, Today, 12:36 PM
                        0 responses
                        2 views
                        0 likes
                        Last Post PaulMohn  
                        Started by love2code2trade, 04-17-2024, 01:45 PM
                        4 responses
                        38 views
                        0 likes
                        Last Post love2code2trade  
                        Started by junkone, Today, 11:37 AM
                        3 responses
                        22 views
                        0 likes
                        Last Post NinjaTrader_ChelseaB  
                        Working...
                        X