• 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 EMA from an intraday chart

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

    Daily EMA from an intraday chart

    Hello everybody,

    How could I retrieve daily EMA (period 7 days) from an Intraday chart ?

    I mean, what would be the line code ?

    EMA(Close, 7)[0] ?

    Thanks a lot !

    After
    Last edited by After; 02-23-2015, 06:23 AM.

    #2
    After, first you would need to add in your daily series to the script via the Add() method in Initialize().

    http://www.ninjatrader.com/support/h...s/nt7/add3.htm

    Then you could calculate your EMA on this added bars array i.e.

    EMA(BarsArray[1], 7)

    http://www.ninjatrader.com/support/h.../barsarray.htm
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CopyPasteGhost, Today, 11:22 AM
    0 responses
    1 view
    0 likes
    Last Post CopyPasteGhost  
    Started by 1001111, Today, 10:23 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PaulG  
    Started by NinjaCustomer, Today, 11:07 AM
    0 responses
    3 views
    0 likes
    Last Post NinjaCustomer  
    Started by NtFan, Today, 10:47 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by dmking, Today, 10:55 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X