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

Time[0] = 1/1/1800 00:00:00

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

    Time[0] = 1/1/1800 00:00:00

    I create indicators that are designed to work with the user adjusting input data series settings.

    I use the NT7 user interface to change from the base Close value to something I want to work with.


    I have found if I change to something other than the default Close value, Time[0] does not get the correct time.

    I can repeat this process...

    I am simply using Print(Time[0])

    if I do not alter the input series, all is ok

    if I change it, the print statement outputs 1/1/1800 00:00:00 which indicates to me the Time data series somehow gets nullified

    Is there some other way I am to access time if the input data series is altered?

    Also, this tends to be when I am selecting to use is another indicator's plot value.
    Last edited by tulanch; 12-22-2011, 09:06 PM.

    #2
    Hello,

    Thanks for the forum post.

    This is the case when you use an indicator as an input series unfortunately. You lose access to Open,Low,High,Time. You only have Value[0] to work with in this scenario.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by f.saeidi, Today, 12:14 PM
    7 responses
    16 views
    0 likes
    Last Post f.saeidi  
    Started by Russ Moreland, Today, 12:54 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by philmg, Today, 12:55 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by TradeForge, 04-19-2024, 02:09 AM
    2 responses
    32 views
    0 likes
    Last Post TradeForge  
    Started by aprilfool, 12-03-2022, 03:01 PM
    3 responses
    329 views
    0 likes
    Last Post NinjaTrader_Adrian  
    Working...
    X