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

Is there a way to code an indicator on 1 Tick period that works on other periods too?

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

    #16
    My code is really simple, contain only 1 tick time frame, I do not pass any value to another BarInProgress, on tick bars and volume bars it works good, only on minute bars has this issue, maybe is a problem of differente TimeStamp from tick builded bars and minute builded bars?
    Last edited by LuboLabo; 10-27-2010, 07:28 AM.

    Comment


      #17
      Hello LuboLabo,

      Yes, you should definitely look at the time stamps for both series. This statement will help you compare what Time values are used for each series.

      Print ("BIP0: " + Time[0] + " BIP1: " + Times[1][0]);
      Ryan M.NinjaTrader Customer Service

      Comment


        #18
        Hello aytacasan,

        Correct - this is the multi color plot approach that was used in version 6.5

        Version 7 offers a new approach to multi colored indicators. You can read about this approach here:


        Please see here for Drawing methods available with NinjaTrader:
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, Today, 10:57 PM
        0 responses
        1 view
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Today, 09:29 PM
        0 responses
        7 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Working...
        X