Announcement

Collapse
No announcement yet.

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.

    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 cmoran13, 04-16-2026, 01:02 PM
      0 responses
      43 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      25 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      162 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      98 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      158 views
      2 likes
      Last Post CaptainJack  
      Working...
      X