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

Combining two indicators - one compute on Tick by Tick another on bar close

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

    #16
    Edward, if you're working in NT 7 now you make use of the BarColorSeries property - http://www.ninjatrader.com/support/h...olorseries.htm
    BertrandNinjaTrader Customer Service

    Comment


      #17
      Hello Bertrand,

      For the timebeing I am still on NT6.5
      What is the recommended method?
      Painting the bar? Do you have concise sample code ?

      Thanks.

      Regards.
      EdwardK.

      Comment


        #18
        I'm not sure I follow you - you would just use BarColor then to paint your bar as needed on your conditions, there's no series here for 6.5 unfortunately.

        BertrandNinjaTrader Customer Service

        Comment


          #19
          Hello Bertrand,

          When we are operating tick by tick on some codes, but we are computing & updating the signals on COBC basis, we will use FirstTickOfBar while calculating for BarsAgo = 1.

          Thanks,

          Regards.
          EdwardK.

          Comment


            #20
            Edward, as there's no BarColorSeries in NT 6.5 you could unfortunately not use BarColor then to plot the last with with index [1]. As a workaround you could look into a custom drawing outlining the candle for example.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by AveryFlynn, Today, 04:57 AM
            0 responses
            4 views
            0 likes
            Last Post AveryFlynn  
            Started by RubenCazorla, 08-30-2022, 06:36 AM
            3 responses
            79 views
            0 likes
            Last Post PaulMohn  
            Started by f.saeidi, Yesterday, 12:14 PM
            9 responses
            25 views
            0 likes
            Last Post f.saeidi  
            Started by Tim-c, Today, 03:54 AM
            0 responses
            3 views
            0 likes
            Last Post Tim-c
            by Tim-c
             
            Started by FrancisMorro, Today, 03:24 AM
            0 responses
            5 views
            0 likes
            Last Post FrancisMorro  
            Working...
            X