Easylangage to C# and C# softwares compatibilities

Discussion in 'Automated Trading' started by josker, Oct 31, 2013.

  1. josker

    josker

    Hello everyone,

    I found some codes in "easylangage" from tradestation, and i want to convert them in C#. Can someone tell me on what forum of programmers, or where that job can be done?

    My second question : For example, if i take a C# code from sierra chart, will it be compatible with ninja trader, or with fxpro ctrader, or with protrader? I meant, with every C# trading software?

    Thanks for your help
     
  2. ehlaban

    ehlaban

    Sierra uses C++ so thats different.

    While it's relatively easy to port code between programs
    that use the same programming language C# for example,
    every program has it's own way of doing things.

    So you can't copy, paste the code but have to rewrite it a little.
     
  3. EZLanguage is way different from C# or C++. You won't be porting code you will be reprogramming a concept.
     
  4. Moving from EasyLanguage to C++/C# is the same as translating a paragraph from A Tale of Two Cities from English into French or Spanish...

    The first, and easiest part is vocabulary/syntax. You'll need to determine the right vocabulary and syntax so it makes sense/compiles in the new language.

    The second, and hardest part is making it idiomatic. That is, translating the nuances in meaning/intention as well as shortcuts in structure so that it sounds and reads more "naturally" in the new language.

    An example of an idiomatic programming construct:

    Incrementing a variable: i = i + 1;

    Idiomatically incrementing a variable: i++ or ++i;
     
  5. josker

    josker

    Thanks for all your replies.
    I think i'm more awared, and yes, you're right, siera chart is C++.
    I'm sad that all C# concepts aren't the same, and programs need to be rewrited from one software to another. What i wanted to do is copy past of the code. I'm not a programmer, only a trader that wants to deal with pro softwares now, and leave metatrader.
    Do someone knows a good forum or website of programmers that can do theses conversions for me?
     

  6. Just convert the code yourself. It's well worth the effort. Self-reliance is a virture...
     
  7. josker

    josker

    Converting the code myself is good, you're right, but it means learning easylangage enterely and learning also C#. That will took me one year if i'm going fast. What if the strategies i want to use are no more efficient in one year. :D
     
  8. 1 year? How much code is there? If it's 1-2 routines, it shouldn't take more than a day or two.

    Most languages have similar syntax. EasyLanguage and C/C++/C# do not differ very much, compared to Fortran or R.

    I think you're overestimating the scope of the project....
     
  9. josker

    josker

    I meant learn the complete langage. How do you want to learn a language, just based on what you see in the code project? Kind of just learning how to modify what you see? How about the algo, the sense of the program?
    One day or 2? ok, so i'll send it to you and you'll code it for me. :cool:
     
    #10     Oct 31, 2013