• 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 Kabua, Yesterday, 11:24 PM
              1 response
              6 views
              0 likes
              Last Post koganam
              by koganam
               
              Started by KandI, Today, 08:03 AM
              2 responses
              6 views
              0 likes
              Last Post KandI
              by KandI
               
              Started by kujista, Yesterday, 10:33 PM
              4 responses
              13 views
              0 likes
              Last Post kujista
              by kujista
               
              Started by tonynt, Today, 07:27 AM
              1 response
              8 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Started by brownsfan019, Today, 07:23 AM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Working...
              X