Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Time Frame loss of DataSeries data…Jagged Line

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

    Multi Time Frame loss of DataSeries data…Jagged Line

    Greetings;
    Trading on NT8, I have moments when data is lost in my DataSeries
    when used with a MultiTimeFrame indicator.
    Without the MTF the line is perfect (please see 2 pics attached).
    Even after reading for hours (Forum and Help), I am not sure what
    term to apply to this problem.
    Suggestions? My code below:

    }
    else if (State == State.Configure)
    {
    AddDataSeries(BarsPeriodType.Tick, 100);
    AddDataSeries(BarsPeriodType.Minute, 5);
    yTurboBase3 = new Series<double>(this);
    yTurboBase2 = new Series<double>(this);
    yTurboBase1 = new Series<double>(this);
    }
    protected override void OnBarUpdate()
    {
    if(BarsInProgress==1) {
    if(IsFirstTickOfBar) {
    yTurboBase3[0]= (EMA(Closes[1],60)[0]);
    yTurboBase2[0]= (EMA(yTurboBase3,20)[0]);
    yTurboBase1[0]= (EMA(yTurboBase2,5)[0]);
    }
    }
    if(BarsInProgress==0) {
    if(IsFirstTickOfBar) {
    TurboLine[0]= yTurboBase1[0];
    }
    }
    Attached Files

    #2
    Hello.

    Thanks for the note.

    A jagged plot would be expected because tick and minute data do not line up with each other and there could be multiple tick bars within a minute. Also, if you plot between 1 and 5-minute intervals the plot will be jagged because there is no change for 4 minutes.

    Please let us know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 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
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X