Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

C++ to C# Converter found, will it work?

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

    C++ to C# Converter found, will it work?

    So I've found software that converts C++ to C# and I'm wondering if it can be used to help automate the process of converting MetaTrader indicators to NinjaScript?

    The demo version allows converting snippets of up to 100 lines which would be good enough in many cases. There seems to be a lot of potential with the custom string replacement (I've shown a few examples in the pic) and function replacement.

    For those with experience in this area, is this likely to work, and if so what are some other custom string replacements that could be used?

    The program can be downloaded from here:
    http://tangiblesoftwaresolutions.com...er_Details.htm
    Attached Files

    #2
    An automated translation of C++ to C# would be smallest part of work to do if you are looking into migrating a trading strategy from a different platform to NT.

    Here is why:
    - you needed to manually migrate and verify the logic
    - replace methods/construct by NinjaScript equivalent and verify all cases work as expected
    ... there are a lot more details to it which would make me believe that the actual C++ to C# code translation would be 10% or less of your total effort

    Just my 2 cents...
    DierkNinjaTrader Customer Service

    Comment


      #3
      I see you point, but I'm actually looking to convert indicators, not strategies. A agree that some are going to be more difficult and complex than others, but I still believe there is potential here.

      Maybe this is because in my first attempt at a conversion I was able to convert an MQL indicator that was somewhat complex simply by copying and pasting in NT with very minimal changes...

      Originally posted by NinjaTrader_Dierk View Post
      An automated translation of C++ to C# would be smallest part of work to do if you are looking into migrating a trading strategy from a different platform to NT.

      Here is why:
      - you needed to manually migrate and verify the logic
      - replace methods/construct by NinjaScript equivalent and verify all cases work as expected
      ... there are a lot more details to it which would make me believe that the actual C++ to C# code translation would be 10% or less of your total effort

      Just my 2 cents...

      Comment


        #4
        Will have a look at this

        Hi Elliot wave

        I have some experience with Metatrader and agree that it will be great if more indicators available in MT can be brought over to NT.

        I will download the converter and try it out over the next month or so.

        Regards

        Verge

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by b16_aln, Today, 01:52 AM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by rfsettling, Today, 07:17 AM
        0 responses
        4 views
        0 likes
        Last Post rfsettling  
        Started by vantojo, Today, 06:46 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by sidlercom80, Today, 02:40 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by junkone, Yesterday, 08:55 PM
        2 responses
        13 views
        0 likes
        Last Post junkone
        by junkone
         
        Working...
        X