• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Move previously drawn Fibonacci Retracement on chart to new price and time

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

    Move previously drawn Fibonacci Retracement on chart to new price and time

    Scenario:
    I draw a Fibonacci retracement but then want to move/relocate it to a new time and price later.

    Question:
    What is my best option? Do I use IFibonacciRetracemens to change the attributes or just remove the draw object and redraw a new one.

    Cheers

    #2
    If your goal is to move the object, you can click on the diagonal line then drag to a new position:

    If your goal is to copy the object within the same chart window, you could just copy then paste the object:
    • Click on the diagonal line to select the Fibonacci
    • Use CTRL+C (or right-click and select 'Copy')
    • Use CTRL+V (or left click off of the object then right click and select 'Paste')
    Here is a video demonstrating both:

    https://www.screencast.com/t/N74dEfmU
    Patrick G.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_PatrickG View Post
      If your goal is to move the object, you can click on the diagonal line then drag to a new position:

      If your goal is to copy the object within the same chart window, you could just copy then paste the object:
      • Click on the diagonal line to select the Fibonacci
      • Use CTRL+C (or right-click and select 'Copy')
      • Use CTRL+V (or left click off of the object then right click and select 'Paste')
      Here is a video demonstrating both:

      https://www.screencast.com/t/N74dEfmU
      Patrick

      I need to do in an indicator. The indicator drew the fib I want to relocate it based on a certain logic.

      Comment


        #4
        Hello ct,

        Drawing objects drawn by NinjaScript can be moved by calling that drawing method again, using the same tag parameter and applying new parameters for the new drawing at the new location.

        For example:

        Code:
        if (CurrentBar == 100)
            DrawFibonacciRetracements("tag1", true, 10, Low[10], 0, High[0]);
        if (CurrentBar == 200)
            DrawFibonacciRetracements("tag1", true, 10, Low[5], 0, High[1]);
        More tips on drawing in NinjaScript can be found here - https://ninjatrader.com/support/help...t7/drawing.htm

        Please let us know if we can be of further assistance.
        JimNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Jim View Post
          Hello ct,

          Drawing objects drawn by NinjaScript can be moved by calling that drawing method again, using the same tag parameter and applying new parameters for the new drawing at the new location.

          For example:

          Code:
          if (CurrentBar == 100)
          DrawFibonacciRetracements("tag1", true, 10, Low[10], 0, High[0]);
          if (CurrentBar == 200)
          DrawFibonacciRetracements("tag1", true, 10, Low[5], 0, High[1]);
          More tips on drawing in NinjaScript can be found here - https://ninjatrader.com/support/help...t7/drawing.htm

          Please let us know if we can be of further assistance.
          Jim

          Thanks, got it.

          Cheers

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by yeshujbp, Today, 02:40 PM
          0 responses
          5 views
          0 likes
          Last Post yeshujbp  
          Started by Venom, Today, 01:05 PM
          0 responses
          7 views
          0 likes
          Last Post Venom
          by Venom
           
          Started by Dert66, Today, 12:11 PM
          0 responses
          7 views
          0 likes
          Last Post Dert66
          by Dert66
           
          Started by jjanguda, Today, 10:04 AM
          0 responses
          225 views
          0 likes
          Last Post jjanguda  
          Started by sambo81, Today, 09:20 AM
          1 response
          12 views
          0 likes
          Last Post sambo81
          by sambo81
           
          Working...
          X