Announcement

Collapse
No announcement yet.

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.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    173 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    91 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    129 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    208 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    186 views
    0 likes
    Last Post CarlTrading  
    Working...
    X