Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

indicator update

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

    indicator update

    Hello

    If I use 5 min chart and I want to have 1 min indicator on it (such as MACD). Can I do this using multy time-frame approach. I tried this by adding the following line Add(PeriodType.Minute, 1); however, this does not cause the indicator window to update every 1 minute.

    I can achieve this by adding the second time series to a chart with 1 minute data but I do not want to see the chart itself (because it take space) but only the indicator working on 1 minute data.

    Thank you.

    #2
    Hello,

    Where did you add the Add(PeriodType.Minute, 1) too? As you would need to create a copy of the MACD indicator and add this to here.

    Also when you use this you must seperate what you want to run on the main data series and what you want to run on the secondary (1 minute) time frame. You do this by checking what bars are in progress.

    if (BarsInProgress == 0)
    {

    //nothing

    }

    if (BarsInProgress == 1) // our secondary 1 minute data series
    {

    Set.Macd("MACD CALC HERE"); // Set your plot when the 1 min data series is in progress.

    }



    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

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