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 CarlTrading, 03-31-2026, 09:41 PM
              1 response
              68 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              36 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              61 views
              1 like
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              62 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              53 views
              0 likes
              Last Post CarlTrading  
              Working...
              X