Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to access P&F chart bar color info programmably

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

    how to access P&F chart bar color info programmably

    how to access P&F, Renko, Kagi chart's bar color information programmably?

    Thanks

    #2
    Solvmatic,

    Here are some helpful links :

    Renko : http://www.ninjatrader.com/support/h...l?addrenko.htm

    Kagi : http://www.ninjatrader.com/support/h...ml?addkagi.htm

    PointAndFigure : http://www.ninjatrader.com/support/h...tandfigure.htm

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I realize this thread is older than old . . . but I was also wondering about accessing Kagi charts within a ninjascript strategy. How are these "bars" built and how can they be accessed, i.e. what's the difference between Close[0] and Close[1] on a Kagi chart (is a new bar formed when the color changes or from each high to low)? Any examples would be greatly appreciated, thanks!

      Comment


        #4
        GuySmiley, you can just normally access the underlying values through the price types, however for Kagi's the High and Low will be what you're working with, as this will define if you get a new bar or not (old low - reversal size breached, old high + reversal size breached).

        So check for an up bar (thick line, green per default) you could do simply -

        if (High[0] > High[1]) ...
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by giulyko00, Yesterday, 12:03 PM
        3 responses
        12 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by habeebft, Today, 07:27 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ChristopherS  
        Started by AveryFlynn, Today, 04:57 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by Max238, Today, 01:28 AM
        4 responses
        38 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by r68cervera, Today, 05:29 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X