Announcement

Collapse
No announcement yet.

Averages with offsetSeries

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

  • Averages with offsetSeries

    Does this mean MA0515study = ema( 15,close(inv(5)));

    the same as
    MA0515study = offsetSeries(eval(Type1)(Length1,eval(Source1)(sym (vSymbol)(inv(5)))),Offset1)
    type ema
    length 15
    source1 close
    vsymbol
    offset 0

    Iam trying to check on higher time frames without having to open the chart of the higher time frame
    sam

  • #2
    Re: Averages with offsetSeries

    sam
    The direct equivalent of ema(15,close(inv(5))) would be
    eval(Type1)(Length1, eval(Source1)(inv(5)))
    If you then want to offset the series it would be
    offsetSeries(eval(Type1)(Length1, eval(Source1)(inv(5))), Offset1)
    Alex


    Originally posted by sam.burn
    Does this mean MA0515study = ema( 15,close(inv(5)));

    the same as
    MA0515study = offsetSeries(eval(Type1)(Length1,eval(Source1)(sym (vSymbol)(inv(5)))),Offset1)
    type ema
    length 15
    source1 close
    vsymbol
    offset 0

    Iam trying to check on higher time frames without having to open the chart of the higher time frame

    Comment


    • #3
      Alexis Excellent
      Thanks
      sam

      Comment


      • #4
        sam
        My pleasure
        Alex


        Originally posted by sam.burn
        Alexis Excellent
        Thanks

        Comment

        Working...
        X