Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mtf

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

    Mtf

    Can I get the High of an EMA when using multple dataseries?

    EMAHigh = EMA(High, 34)[0];
    EMAHigh = EMA(BarsArray[BarsInProgress], High, 34)[0];

    Thank you!

    #2
    Originally posted by mrmistermike2016 View Post
    Can I get the High of an EMA when using multple dataseries?

    EMAHigh = EMA(High, 34)[0];
    EMAHigh = EMA(BarsArray[BarsInProgress], High, 34)[0];

    Thank you!
    Yes, but not that way. Correct for BarsArray[BarsInProgress] is:
    Code:
    EMAHigh     = EMA(Highs[BarsInProgress], 34)[0];
    ref: http://ninjatrader.com/support/helpG...n-us/highs.htm

    Comment


      #3
      Thank you very much!!

      Comment


        #4
        Wrong thread.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by yeikson89, Today, 02:53 PM
        2 responses
        9 views
        0 likes
        Last Post yeikson89  
        Started by sdauteuil, Today, 01:06 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by trumpy, 03-09-2017, 02:11 PM
        30 responses
        3,224 views
        0 likes
        Last Post foxthorn  
        Started by shani77, Today, 09:58 AM
        1 response
        22 views
        0 likes
        Last Post NinjaTrader_Eleanore  
        Started by cjanau, Yesterday, 11:07 AM
        1 response
        31 views
        0 likes
        Last Post NinjaTrader_ThomasC  
        Working...
        X