Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fib with a difference!

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

    Fib with a difference!

    Hi everyone

    I've been spending some time going through charts and with the aid of the Fib Retracements tool, (using the 0% and 100% lines only) marking historical entries and exits (a process that can't be done automatically).

    It would be extremely helpful to have an additional element on this Fib tool which gives the difference (hence the appalling pun in the title!) between the 0% and 100% levels. So if 0% = 2500 and 100% = 2526, the difference, '26' would be immediately visible.

    I'm probably asking for the impossible but is this something that's achievable without very advanced coding?

    Thanks for letting me know.

    #2
    Hello,

    Thank you for your post.

    At this time this is something which can be accomplished only through custom programming. With that said I see how this would be a useful addition to NinjaTrader and I will forward this suggestion to our development staff for further consideration.

    If anything else comes up which I could assist with please let me know.
    KyleNinjaTrader Customer Service

    Comment


      #3
      Thanks very much, Kyle, and for putting forward the suggestion.

      Is there anywhere online where I could get an idea of the coding involved to achieve this? I'd be fascinated to see how the Fib Retracements tool is indeed coded but this may well be not be available.

      Much obliged.

      Comment


        #4
        Hello,

        Thank you for the reply.

        I don't have the code freely available for the drawing tools in NinjaTrader 7 to post, but can tell you that they are fairly complicated to create. NinjaTrader 7 really has no supported ways to create drawing tools specifically, but NinjaTrader 8 this will be an option once it is released.

        I am unsure if what you would like would be completely possible in NinjaTrader 7 as it currently stands regarding drawing tools, one alternative would be to use a drawing object like a dot or line as your starting point and then use NinjaScript to draw lines at the values needed and draw any text needed to accomplish the goal. Unfortunately I do not really have a sample or example of this that I am aware of, other users may have uploaded something similar to this but I do not know of anything specific that could guide you on this item.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Thanks very much, Jesse, for your explanation of the situation.

          For the moment, having such an addition to the Fib Tool would be useful but not essential. It just means that I've got to do more mental arithmetic that I'm use to!

          The nearest I can think of to a solution (which would be very easy to do) would be to code up an indicator and have the two levels entered manually as Variables and show the result through the DrawText method.

          I'm looking forward to seeing the NT8 option you mentioned.

          Cheers.

          Comment


            #6
            Originally posted by arbuthnot View Post
            Thanks very much, Jesse, for your explanation of the situation.

            For the moment, having such an addition to the Fib Tool would be useful but not essential. It just means that I've got to do more mental arithmetic that I'm use to!

            The nearest I can think of to a solution (which would be very easy to do) would be to code up an indicator and have the two levels entered manually as Variables and show the result through the DrawText method.

            I'm looking forward to seeing the NT8 option you mentioned.

            Cheers.
            That might work, albeit in a very error prone manner.

            What can be done is:
            1. Keep a running count of all user-drawn objects.
            2. If the count increases, query the last object added.
            3. If it is a Fib Retracement, query its properties, calculate that which you wish and then display it with either DrawText() or DrawTextFixed() as the case may be.

            Comment


              #7
              Originally posted by koganam View Post
              That might work, albeit in a very error prone manner.

              What can be done is:
              1. Keep a running count of all user-drawn objects.
              2. If the count increases, query the last object added.
              3. If it is a Fib Retracement, query its properties, calculate that which you wish and then display it with either DrawText() or DrawTextFixed() as the case may be.
              Thanks very much for this idea. Koganam.

              I'll try something out along these lines.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by bmarovets, Today, 06:33 PM
              0 responses
              6 views
              0 likes
              Last Post bmarovets  
              Started by ETFVoyageur, Yesterday, 07:05 PM
              4 responses
              35 views
              0 likes
              Last Post ETFVoyageur  
              Started by JGriff5646, Yesterday, 10:02 PM
              2 responses
              22 views
              0 likes
              Last Post JGriff5646  
              Started by DawnTreader, Today, 05:58 PM
              0 responses
              5 views
              0 likes
              Last Post DawnTreader  
              Started by ntram, Today, 05:39 PM
              0 responses
              5 views
              0 likes
              Last Post ntram
              by ntram
               
              Working...
              X