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

Fibonacci

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

    Fibonacci

    The following line can be used to draw fibonacci retracements on a chart from within an indicator/strategy:

    // Draws a fibonacci retracement object
    DrawFibonacciRetracements("tag1", true, 10, Low[10], 0, High[0]);

    Is there a way I can access the various retracement levels of this object once it is on the chart (61.8% etc)? I realise that I can manually calculate the retracement levels between 2 points but wanted to see if there are already existing functions available.

    #2
    mballagan, unfortunately this is not supported with NinjaTrader 6.5

    As work in progess we plan on offering this for NinjaTrader 7 - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

    Draw Objects Enhancements
    Draw objects are now associated to an indicator which means that if a user removes a draw object from the chart, it will also remove the indicator. In addition, all draw objects spawned from an indicator share the indicator's z-order.
    IDrawObject - IDrawObjects are now returned to the caller on all Draw() methods. IDrawObjects expose draw objects properties.
    Work in progress - We will implement programmatic access to draw objects added to a chart manually. For example, you can have a user draw a line on a chart and add a "tag" to this object and you can retrieve this object, read it's value and do something with it.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      object properties

      Its good to know it will be available in NT7 thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Austiner87, Today, 03:42 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by cshox, Today, 11:11 AM
      2 responses
      14 views
      0 likes
      Last Post cshox
      by cshox
       
      Started by algospoke, Today, 06:53 PM
      0 responses
      5 views
      0 likes
      Last Post algospoke  
      Started by mlprice12, 12-21-2021, 04:55 PM
      3 responses
      293 views
      0 likes
      Last Post paypachaysa  
      Started by lorem, 04-25-2024, 09:18 AM
      20 responses
      85 views
      0 likes
      Last Post lorem
      by lorem
       
      Working...
      X