Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsArray[2] with EMA(High,34)[0];

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

    BarsArray[2] with EMA(High,34)[0];

    Hi
    How can I linked

    BarsArray[2] with EMA(High,34)[0];

    Thanks

    #2
    Please try calculating the EMA on the Highs, so for example -

    EMA(Highs[2], 34)[0];

    Comment


      #3
      Sorry it is not that

      for HighS.... I know [][]

      but it is completely different

      I speay about EMA(High,34)
      EMA 34 calculate on High of the candel

      How can I linked

      BarsArray[2] with EMA(High,34)[0];

      Thanks

      Comment


        #4
        Sorry I don't follow what you mean by 'link' - you either

        a) calculate the EMA on the highs of the second series as input data

        b) you can filter when to access / work (in which OnBarUpdate call) with a given value, for this you would use BarsInProgress -

        Comment


          #5
          for instance
          this is possible
          EMA(BarsArray[2],34)[0];

          but I need EMA on High

          I need something like that
          EMA(BarsArray[2],High,34)[0];

          witch is not compilated

          what is the good formulation ?

          Comment


            #6
            Correct, please try my second reply out, this will calculate the EMA with the Highs of the second series as input.

            Comment


              #7
              OK,
              Thanks

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              60 views
              0 likes
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              145 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              161 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 05-10-2026, 08:12 PM
              0 responses
              97 views
              0 likes
              Last Post CarlTrading  
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              283 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Working...
              X