• 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

Create a data series (AverageEtd)

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

    Create a data series (AverageEtd)

    Hello, I created multiple data series for the values of AverageMfe and AverageMae, everything perfect.
    Instead, to create the data series with the AverageEtd values, there are problems.
    Attached a file (code) with the steps I did and an image file.
    Thank you.
    Roberto
    Attached Files

    #2
    Sorry, I resolved.

    Sorry, I resolved.
    Ciao.
    Roberto

    Comment


      #3
      Hello Roberto,

      Thanks for letting us know you have resolved the error.

      As a tip, I have attempted to translate the error message as 'NinjaTrader.Cbi.Trade does not contain a definition of 'EtdCurrency' and not found any extension method 'EtdCurrency' accepting a first argument of type 'NinjaTrader.Cbi.Trade'.
      Likely the EtdCurrency variable has not been declared.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Create data series ??

        Good morning,
        how do I create a date series with AvgEtd values.
        Missing EtdCurrency command
        Attached image
        Hello.
        Roberto
        Attached Files

        Comment


          #5
          Hello Roberto,

          I have merged your post from thread 93109 as this appears to be a duplicate post of the same question.

          In your code likely on line 56 you are making a call to EtdCurrency which has not been declared.

          You will need to declare this variable or remove this code.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hello Chelse,
            I put the file (code 2) with the steps I do to create the data series of ETD.
            When I arrive at line 206, as you can see from the attached, I make the point and then the menu lacks the command to invoke EtdCurrency, as there is for MaeCurrency.
            Hello.
            Roberto
            Attached Files

            Comment


              #7
              Hello Roberto,

              A variable must be declared before it can be called.

              EtdCurrency and etd are not the same variable. These are different variables.

              A variable named EtdCurrency must be declared before it is called on what is likely like 56.

              Declaring a new variable with a different name on line 206 will not resolve the error with the call to the EtdCurrency variable.
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by erichuff, Today, 04:53 AM
              1 response
              24 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Started by stevenev1, Today, 01:43 PM
              0 responses
              8 views
              0 likes
              Last Post stevenev1  
              Started by shinuvu, Today, 11:05 AM
              3 responses
              18 views
              0 likes
              Last Post NinjaTrader_ChrisL  
              Started by Hagar, Yesterday, 07:12 PM
              2 responses
              20 views
              1 like
              Last Post Hagar
              by Hagar
               
              Started by PBreen, Today, 11:59 AM
              2 responses
              13 views
              0 likes
              Last Post PBreen
              by PBreen
               
              Working...
              X