• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily/Weekly EMA on Intraday Chart

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

    Daily/Weekly EMA on Intraday Chart

    Hello, I've created an indicator to display a higher time frame EMA on a intraday chart.

    However, the goal is to show a daily EMA on the intraday chart or a weekly/monthly EMA on a daily chart.

    The indicator plots HTF minutes, seconds, ticks, etc. EMAs fine on the intraday chart. But when I choose Day,Weekly, or Monthly as BarPeriodType on a intraday or daily chart the indicator no longer plots.

    Without posting the whole code, the major items are below. Can you please advise what may be causing the daily, weekly and monthly aggregations to not plot. Thanks
    Last edited by EC_Chris; 12-14-2017, 08:41 AM.
    -EC_Chris-
    NinjaTrader Ecosystem Vendor - Emergent Cybernetics

    #2
    Hello EC_Chris,

    A plot will have bar slot for every primary bar.

    The plot will only show between bars that have values set consecutively.

    If bar 0 has a value set, bar 1 has a value set, bar 2 does not have a value, and bar 3 has a value set, the plot will only show between bars 0 and 1 and will not show between 1 and 2 or 2 and 3.

    May I confirm you have a value set for every primary bar in the plot?

    You can use .IsValidDataPoint() to ensure a value is set on a series.

    Below is a publicly available link to the help guide.
    https://ninjatrader.com/support/help...ddatapoint.htm
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Erwin Beckers, Today, 01:23 AM
    0 responses
    2 views
    0 likes
    Last Post Erwin Beckers  
    Started by Mark Taylor, Yesterday, 11:36 PM
    0 responses
    4 views
    0 likes
    Last Post Mark Taylor  
    Started by Bluebeep, Yesterday, 08:38 PM
    0 responses
    10 views
    0 likes
    Last Post Bluebeep  
    Started by stokhastic, Yesterday, 07:08 PM
    0 responses
    4 views
    0 likes
    Last Post stokhastic  
    Started by jlkramer16, Yesterday, 04:29 PM
    1 response
    5 views
    0 likes
    Last Post jlkramer16  
    Working...
    X