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

I will Develop your Indicator or Strategy for FREE

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Intraday? Every new high .01?


    Originally posted by ronegarcia View Post
    Would you be able to assist me in developing an indicator for an automatic resetting of a hi or lo new price? For example, on any issue if the price reaches a new hi or lo,
    it would alarm indicating the new hi or lo and then automatically reset itself to alarm
    if it hits another new hi or lo. This would be repeated until no new hi or lo-s were met.
    You may call me at 505-792-0309 or reach me by email at [email protected].
    ThankYou,
    Ron

    Comment


      #17
      Originally posted by bartholomew View Post
      Wow, that's crazy how someone could be so ungrateful from you just offering free help with something they want coded! I've coded a few custom indicators myself on ToS, so I get how instructions must be clear for the coder to code properly...I guess other people don't? :S

      If I send you my code, could you add the color options for me?
      My code isn't much different from the built in bollinger band except my default settings are the same as Dave Elliotts, and my default line colors and thickness are changed.

      I'll be as clear as I can with answering any questions you have and can send a screenshot of what the finished product looks like, if that helps.

      PM me if that's cool and if not, no worries.
      If you have already written the indicator, then at least you know what you want to do and see. You are just asking for the enhancement of color options, it seems.

      PM me, and I will give you an email address, unless of course, you do not mind sharing your code publicly, in which case we can just use the forum.

      Comment


        #18
        Custom Indicator

        Originally posted by sledge View Post
        Intraday? Every new high .01?
        Sledge,
        Thank you for your assistance. How do we proceed from here?

        Comment


          #19
          Originally posted by michel View Post
          Hi everybody
          I am new to NinjaTrader but i have been developing indicators for tradestation for 6 years
          I'm still getting familliar with Ninja and i need the practice so i will develop strategies for free

          Note that I wont be taking over complicated requests. keep it simple and clean. if there are too many requests i will take my pick as to which ones i do

          happy trading

          Regards,
          Michel
          www.fxcteam.com
          Hi Michael,

          My system gets bogged down because of too many draw objects and I have been trying to limit the amount of them. Can you make a simple indicator that removes the drawobjects that have current values over and below say 5% of the current bar close? Perhaps the 5% could be a variable that can be changed. I tried consulting with Matthew from Support but I'm still having trouble. Take a look at Alert for Manually Drawn Lines Indicator (LineAlert) in the downloads to see how he calculates the Value of lines at the current bar. I've been trying to modify that indicator but I can't get it to recognize programmatically drawn lines. Actually If you could make programatically or Userdrawn lines a variable as well then that would be great too. Thanks

          Comment


            #20
            I have an indicator request.

            This indicator draws horizontal lines for specified time periods, I would like to add 2 horizontal lines one that are 25% below the low and the other 25% above the high. My email is [email protected]

            Thank you in advance
            Attached Files
            Last edited by kenyee65; 08-23-2011, 08:30 PM.

            Comment


              #21
              Originally posted by trzmyewski View Post
              Hi Michel, Thanks for the offer! If you are interested, I would like the following levels to indicate with a horizontal line that extends to the right of the chart.

              1) PDH (Previous Day's High)
              2) PDL (Previous Day's Low)
              3) PDC (Previous Day's Close)
              4) Overnight High
              5) Overnight Low
              6) 10 Minute High (The first ten minutes after todays open) 9:30AM EST- 9:40AM EST
              7) 10 Minute Low (The first ten minutes after todays open) 9:30AM EST- 9:40 AM EST


              Thanks again for your help!
              You can use PriorDay OHLC and if you don't want the open to plot then make it the same color as your background. For 4-7 you can use the FHH indicator located on page 2 when you search "high low", you can run it twice once for the overnight time and the other for the first 10 minutes. I attached the file below also.
              Attached Files

              Comment


                #22
                Add Std Dev to internal variables??

                Originally posted by michel View Post
                Hi everybody
                I am new to NinjaTrader but i have been developing indicators for tradestation for 6 years
                I'm still getting familliar with Ninja and i need the practice so i will develop strategies for free

                Note that I wont be taking over complicated requests. keep it simple and clean. if there are too many requests i will take my pick as to which ones i do

                happy trading

                Regards,
                Michel
                www.fxcteam.com
                Michel,

                I feel a bit foolish but... I am trying to add Std Dev to %b, & can't seem to figure out how to persuade the program that %b is actually a time series (else it won't let me use linReg or Std Dev)

                Thanks

                ron davis

                PS I'm happy to post the code for Bollinger's %b, FWIW

                Comment


                  #23
                  another variation to the "swing" indicator

                  Hi Michel

                  Thanks heaps for your offer!! If you could, I would like a variation to the "swing" indicator, whereby instead of plotting a line at the swing point, it simply plots a dot.

                  Thank you in advance for your help.

                  Comment


                    #24
                    Bar Value Indicator

                    Is there a Bar Value indicator already available? I trade the ES and would love to be able to see how large the present bar is as forming. If you could indicate the value of the bar as it forms that would be great also. Thanks in advance. jwhtrades

                    Comment


                      #25
                      Swing Point Highs/Lows

                      Hi there,
                      first off thank you for all your help for everyone. i have an indicator that i am trying to convert from Tradestation over to Ninja. would you be able to help me get that converted? it somewhat resembles the indicator "swing" that is already in ninja but the conditions must be different as they are not plotting the same. here is the code below that i use in TS. thank you in advance for all help! attached is a photo as it appears in TS

                      {Confirmation Entries
                      This plots swing highs/lows with a strength of 2 bars on each side, on the condition that there is a
                      close above/below the high/low the bar after the said swing bar.
                      }

                      inputs:
                      buyColor(Green),
                      sellColor(Red);
                      variables:
                      highBarsAgo(1),
                      possibleHighBarsAgo(1),
                      possibleHigh(-2),
                      hightoBeat(-1),
                      barsSincePaint(1),
                      lowBarsAgo(1),
                      possibleLowBarsAgo(1),
                      possibleLow(10000001),
                      lowtoBeat(10000000),
                      triggerPriceSell(-1),
                      triggerPriceBuy(1000000),
                      trend(1),
                      _UP(1),
                      _DOWN(-1),
                      _ON(1),
                      _OFF(-1);


                      //************************************************** *
                      //****** Find and plot the highest swing high *******
                      //************************************************** *

                      if trend = _UP then begin
                      if swingHighBar(1,H,2,barsSincePaint+2) > -1 then begin
                      possibleHighBarsAgo = swingHighBar(1,H,2,barsSincePaint+2);
                      possibleHigh = H[possibleHighBarsAgo];
                      end;

                      if possibleHigh >= hightoBeat then begin
                      highBarsAgo = possibleHighBarsAgo;
                      hightoBeat = possibleHigh;
                      triggerPriceSell = L[HighBarsAgo - 1];
                      end;

                      if C < triggerPriceSell and
                      highest(high,highBarsAgo) < hightoBeat then begin
                      plot1[highBarsAgo](H[highBarsAgo],"",sellColor);
                      alert("Scalper Sell");
                      trend = _DOWN;
                      barsSincePaint = highBarsAgo-1;
                      hightoBeat = -1;
                      lowtoBeat = 10000000;
                      triggerPriceBuy = 10000000;
                      triggerPriceSell = -1;
                      highBarsAgo = 1;
                      possibleHigh = -2;
                      end;

                      end;

                      //************************************************** *
                      //****** Find and plot the lowest swing low *********
                      //************************************************** *

                      if trend = _DOWN then begin
                      if swingLowBar(1,L,2,barsSincePaint+2) > -1 then begin
                      possibleLowBarsAgo = swingLowBar(1,L,2,barsSincePaint+2);
                      possibleLow = L[possibleLowBarsAgo];
                      end;

                      if possibleLow <= lowtoBeat then begin
                      lowBarsAgo = possibleLowBarsAgo;
                      lowtoBeat = possibleLow;
                      triggerPriceBuy = H[LowBarsAgo - 1];
                      end;

                      if C > triggerPriceBuy and
                      lowest(L,lowBarsAgo) > lowtoBeat then begin
                      plot1[lowBarsAgo](L[lowBarsAgo],"",buyColor);
                      alert("Scalper Buy");
                      trend = _UP;
                      barsSincePaint = lowBarsAgo-1;
                      possibleLow = 10000001;
                      lowtoBeat = 10000000;
                      hightoBeat = -1;
                      triggerPriceBuy = 10000000;
                      triggerPriceSell = -1;
                      lowBarsAgo = 1;
                      end;

                      end;

                      barsSincePaint = barsSincePaint+1;
                      if trend = _UP then highBarsAgo = highBarsAgo + 1;
                      if trend = _DOWN then lowBarsAgo = lowBarsAgo + 1;
                      Attached Files
                      Last edited by sanetrader; 09-26-2011, 12:32 PM.

                      Comment


                        #26
                        SMA Paintbar

                        Hello I am looking to set up a 150 tick chart with a 20 SMA (simple moving average) that colors the bars green when they close above the MA and red when they close below.
                        ( The open bar can be the color of the previous bar, until it closes)

                        Is this something you can code for me?

                        Thank You.

                        Comment


                          #27
                          Bollinger Band

                          Hello Michael,
                          I use different EMAs and the Bollinger Band in my strategy. When I back test my strategy and look at the back test chart data ... all my indicators are the same color. I can manually change the colors every time I back test, but that's inconvenient. My work around solution is to build some custom indicators that are exactly the same as the main indicators, except I set the color and line width. That why when I use my custom indicator in the back test, the default colors will be the colors that I want. I figured out how to build a custom indicator for my EMAs, however, I'm having problems building one for my Bollinger Band. Could you please help me in this area. Basically, I would like a custom indicator with the name "LimeBB", meaning the Bollinger Band is Lime color. I would like all three bands Lime (upper, middle and lower). I would also like the line width to be 2.

                          Your help would be greatly appreciated.

                          Best regards,
                          Phoenix7344 (Michael)
                          In Michigan, USA

                          Comment


                            #28
                            Hi Michael,

                            I figured it out.
                            Have a great day!

                            Comment


                              #29
                              koganam,
                              i'm i wrong or is the mobo not more than a bollinger with lower settings; for ex. 10,0.8 ?

                              Comment


                                #30
                                Originally posted by mate41 View Post
                                koganam,
                                i'm i wrong or is the mobo not more than a bollinger with lower settings; for ex. 10,0.8 ?
                                You are not wrong. That is exactly what the MoBo are.

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by BarzTrading, Today, 07:25 AM
                                2 responses
                                13 views
                                1 like
                                Last Post BarzTrading  
                                Started by devatechnologies, 04-14-2024, 02:58 PM
                                3 responses
                                19 views
                                0 likes
                                Last Post NinjaTrader_BrandonH  
                                Started by tkaboris, Today, 08:01 AM
                                0 responses
                                3 views
                                0 likes
                                Last Post tkaboris  
                                Started by EB Worx, 04-04-2023, 02:34 AM
                                7 responses
                                162 views
                                0 likes
                                Last Post VFI26
                                by VFI26
                                 
                                Started by Mizzouman1, Today, 07:35 AM
                                1 response
                                9 views
                                0 likes
                                Last Post NinjaTrader_Gaby  
                                Working...
                                X