• 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

  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:


  • Italy
    replied
    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

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:


  • Italy
    replied
    Create data series ??

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

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:


  • Italy
    replied
    Sorry, I resolved.

    Sorry, I resolved.
    Ciao.
    Roberto

    Leave a comment:


  • Italy
    started a topic Create a data series (AverageEtd)

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by rampayanla, Today, 01:33 AM
0 responses
2 views
0 likes
Last Post rampayanla  
Started by rcsingleton, Today, 12:28 AM
0 responses
7 views
0 likes
Last Post rcsingleton  
Started by zergrush, Today, 12:17 AM
0 responses
3 views
0 likes
Last Post zergrush  
Started by harjinderjit, Yesterday, 06:41 PM
0 responses
21 views
0 likes
Last Post harjinderjit  
Started by Herrwolf1, Yesterday, 09:37 PM
1 response
6 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X