Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Need help convert indicator from MT4 to NT8. Willing to hire programer

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

    Need help convert indicator from MT4 to NT8. Willing to hire programer

    Hello


    Could any programmer with free time please help me convert this awesome indicator from MT4 to NT8.


    This is very simple, power and easy to use Indicator



    any hire programmer available please let me know.

    #2
    Originally posted by rockon1122 View Post
    Hello


    Could any programmer with free time please help me convert this awesome indicator from MT4 to NT8.


    This is very simple, power and easy to use Indicator



    any hire programmer available please let me know.
    for this one I copy ninja Bollinger code into ninja ADX code. The code is not optimized but I think the look is correct.
    Attached Files

    Comment


      #3
      nkhoi,



      getting error This NinjaScript archive was made from an older, incompatible version of NinjaTrader.
      any quick fix?

      Comment


        #4
        Originally posted by rockon1122 View Post
        nkhoi,



        getting error This NinjaScript archive was made from an older, incompatible version of NinjaTrader.
        any quick fix?
        I think it means your ninja version is too old? I update Ninja to the latest and it works fine.
        Attached Files

        Comment


          #5
          I have exact same version. Don't know why the error came up. http://my.jetscreenshot.com/demo/20180519-i365-9kb.jpg

          Comment


            #6
            Originally posted by rockon1122 View Post
            This NinjaScript archive ...
            Ah, just a quick point ...

            Technically, a ".cs" file is not an archive and, therefore, should not be imported.

            Only ".zip" files are considered archives, whereas ".cs" files are considered source code files.

            What steps did you take to cause the error?
            Can you post a screenshot of the error?

            Comment


              #7
              nkhoi, could you please send zip file.

              Comment


                #8
                Originally posted by rockon1122 View Post
                nkhoi, could you please send zip file.
                The ".zip" file is not strictly necessary.

                You can always copy the ".cs" file directly to the "bin/Custom/Indicators" folder and compile it manually.

                First copy the file,
                Then from the Control Center,
                New -> NinjaScript Editor -> select Indicator
                Compile it
                (click 'compile' button in toolbar
                or right click and select 'compile'
                or press F5 hotkey to compile)

                now goto chart window and add the indicator the chart
                let us know if you get any errors from compiling
                Last edited by bltdavid; 05-19-2018, 10:18 AM.

                Comment


                  #9
                  All working perfect! Thanks nkhoi

                  Comment


                    #10
                    Hi, I know this is an old thread but I have a mq4 indicator that I would like to convert to NT8. If anyone can help it would be appreciated. Not sure how to post the indicator. I tried but it won't accept an mw4 extension.

                    Comment


                      #11
                      Hello diver,

                      There are some nuances between Metastock code and NinjaScript code that will need to be minded. Converting other trading platform indicators to our platform are more specialized tasks that we may suggest reaching out to a NinjaScript Consultant who has had experience in both scripting languages to accomplish. From my own experience with Stocks and Commodities articles, MetaStock code is similar in principle to our OnBarUpdate code except that Metastock will loop through a certain range of bars when we update bar by bar.

                      When converting, it will be best to reference MetaStock documentation and then to find parallels in NinjaScript. If you do not have a lot of experience with NinjaScript I would recommend starting with the Strategy Builder to build simple logical concepts and using the View Code button to see the resulting NinjaScript syntax. The NinjaScript Editor 401 video will take you to the next step to unlocking the code and making your own modifications. This video also goes into NinjaScript concepts that carry over to making indicators with NinjaTrader 8.

                      Once you are comfortable with NinjaScript syntax, try making a simple indicator that plots some data. After that I would say you should have a good foundation to convert your MetaStock script to NinjaScript.

                      I've included links to the Strategy Builder 301 and NinjaScript Editor 401 tutorials. When you are ready to look into indicators, please see the AddPlot() documentation which provides sample code for creating a plot and assigning values to that plot.

                      Strategy Builder 301 - https://www.youtube.com/watch?v=HCyt90GAs9k

                      NinjaScript Editor 401 - https://www.youtube.com/watch?v=BA0W4ECyVdc

                      AddPlot() - https://ninjatrader.com/support/help...us/addplot.htm

                      If you are interested in having a consultant who may have more experience with MetaStock convert this indicator, I can have a representative of our EcoSystem reach out with more information.

                      Please let me know if this is the case.
                      JimNinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by RookieTrader, Today, 09:37 AM
                      3 responses
                      13 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by kulwinder73, Today, 10:31 AM
                      0 responses
                      4 views
                      0 likes
                      Last Post kulwinder73  
                      Started by terofs, Yesterday, 04:18 PM
                      1 response
                      22 views
                      0 likes
                      Last Post terofs
                      by terofs
                       
                      Started by CommonWhale, Today, 09:55 AM
                      1 response
                      3 views
                      0 likes
                      Last Post NinjaTrader_Erick  
                      Started by Gerik, Today, 09:40 AM
                      2 responses
                      7 views
                      0 likes
                      Last Post Gerik
                      by Gerik
                       
                      Working...
                      X