Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add indicator to other indicator in NT8

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

    #31
    Hi Jim,

    Thanks a lot for the great value explanation and the video!
    That helped clarifying how to formulate the problems.

    Ok, Think I understand now.

    On Mondays, Time[0] returns the values gotten from the last 'Calculation made at the most recent close timestamp'
    — which was most recent Sunday's Close (for CL, GC etc. with-Sunday-evening-session-but-no-Saturday's-sessions-contracts,
    for other contracts (without-Sunday-evening-session-nor-Saturday's-sessions-contracts: Lumber, Live Cattle etc.)
    Time[0] returns values gotten from most recent Friday's close)?
    On Mondays, Time[1] returns the values gotten from the last 'Calculation made at the most recent close timestamp - 1'
    — which was most recent Friday's Close (for CL, GC etc. with-Sunday-evening-session-but-no-Saturday's-sessions-contracts,
    for other contracts (without-Sunday-evening-session-nor-Saturday's-sessions-contracts: Lumber, Live Cattle etc.)
    Time[1] returns values gotten from most recent Thursday's close)?

    Whereas

    On Sundays, Time[0]returns the values gotten from the last 'Calculation made at the most recent close timestamp'
    — which was most recent Friday's Close (for CL, GC etc. with-Sunday-evening-session-but-no-Saturday's-sessions-contracts,
    for other contracts (without-Sunday-evening-session-nor-Saturday's-sessions-contracts: Lumber, Live Cattle etc.)
    Time[0] returns values gotten from most recent Friday's close as well)?
    On Sundays, Time[1] returns the values gotten from the last 'Calculation made at the most recent close timestamp -1'
    — which was most recent Thursday's Close (for CL, GC etc. with-Sunday-evening-session-but-no-Saturday's-sessions-contracts,
    for other contracts (without-Sunday-evening-session-nor-Saturday's-sessions-contracts: Lumber, Live Cattle etc.)
    Time[1] returns values gotten from most recent Thursday's close as well)?


    For with-Sunday-evening-session-but-no-Saturday's-sessions-contracts, we can use:

    Time[0] on Sundays

    Time[1] on Mondays


    For without-Sunday-evening-session-nor-Saturday's-sessions-contracts, we can use:

    Time[0] on Mondays or/and Sundays

    Time[1] on Mondays


    The causation/why reasoning I made:

    The Time[0] can only refer to one bar back on the Daily bars/data series with Calculate mode set to OnBarClose,
    it cannot refer to current/processing bar (simply because the data is not yet available?).
    It's just that way because of the OnBarClose calculations for the Daily bar — it must get some values,
    and the only ones available/the most recent ones are the ones from the most recent Bar (not the not yet available ones of the current bar).

    I think that makes sense. I was just too used to viewing indexes zero [0] to only be applicable to the processing bar. But that's not possible with OnBarClose calculation mode and the spaced Closes between Fridays sessions and Sundays evening session circumstance.

    Thank a lot! You rock!

    I'll test it now and then will tackle the BarsPeriod approach to get familiar with that way too.

    Be well!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    599 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    344 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    558 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    557 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X