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

Converting easy language

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

    Converting easy language

    Hi,

    I have an indicator written in TradeStation easy language and wanted to know if it is difficult to write/convert to NT code? Thanks, Tom

    #2
    As a last resort you can try the NinjaScript Consultants here: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,

      I was kind of hoping that someone would code it for me for free and then I could share with anyone who wants to use it. I already have the code just no idea how to do it myself. On the TS forum there are many users who just help other users because they can. Thanks, Tom

      Comment


        #4
        Tom,

        I understand. Feel free to try here too. If it is your indicator you can try throwing up the code and see if any of the community members will take you up on that offer.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by chartlearner View Post
          I was kind of hoping that someone would code it for me for free and then I could share with anyone who wants to use it. I already have the code just no idea how to do it myself. On the TS forum there are many users who just help other users because they can.
          Try posting your EasyLanguage code here. If it's part of the TradeStation indicator library, let us know which one it is.
          -Alex

          Comment


            #6
            The NT consultant never answer emails.
            And there isn't many of them.
            Do you have any suggestions on how to find people to hire to do custom programming?

            Comment


              #7
              Have you tried sending an email to all of them?
              RayNinjaTrader Customer Service

              Comment


                #8
                Originally posted by chartlearner View Post
                Hi Josh,

                I was kind of hoping that someone would code it for me for free and then I could share with anyone who wants to use it. I already have the code just no idea how to do it myself. On the TS forum there are many users who just help other users because they can. Thanks, Tom
                Tom,

                There are members here that might take this project on, myself included.

                If you don't post the code for review by the members, how are we to respond to your request?

                Attach a zip file or copy/paste the code to this thread.

                Thanks,

                RJay
                RJay
                NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

                Comment


                  #9
                  It plots as a horizontal line in a subgraph and the dots plot different colors in relation to the time of day.

                  Comment


                    #10
                    Can you post a picture of what it looks like?

                    Also, There is code missing at the end of what you posted earlier.

                    Can you update it?

                    Thanks,

                    RJay
                    RJay
                    NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

                    Comment


                      #11
                      [LegacyColorValue = true];
                      { This indicator plots colored dots at the bottom of your subgraph to note the different
                      timezones. Default colors are:

                      Red: Dead Zone
                      Green: Trade Zone
                      Yellow: Reversal Zone
                      Grey: After Hours
                      Note: This indicator will work in either local time or exchange time anywhere in the world.
                      However it will only work with exchanges that open at 9:30 EST. Therefore it cannot be
                      used on 24 Hour Globex charts. A modification needs to be made to account for this.
                      }
                      inputs: isGlobex(True);
                      vars: TimeOffset( 0 ),
                      curTime( 0 );

                      TimeOffset = TimeToMinutes( 615 ) - TimeToMinutes(Sess1StartTime);
                      if( isGlobex ) then TimeOffset = TimeOffset + TimeToMinutes (0715 );
                      curTime = CalcTime( Time, TimeOffset );
                      { No Trade Zones }
                      If (curTime > 0630 and curTime <= 0650) or (curTime > 0815 and curTime <= 0855)
                      or (curTime > 0905 and curTime <= 1025) or
                      (curTime > 1035 and curTime <= 1115 ) then
                      Plot1( 0, "NoTrade Zone" ) ;
                      {Trade Zones}
                      If (curTime > 0710 and curTime <= 0725 )or (curTime > 0730 and curTime <= 0815) or
                      (curTime > 1115 and curTime <= 1200 )or (curTime > 1210 and curTime <= 1225) or
                      (curTime > 1230 and curTime <= 1240 )or (curTime > 1245 and curTime <= 1300 ) then
                      Plot2(0, "Trade Zone" ) ;
                      {Reversal Zones}
                      If (curTime > 650 and curTime <= 710 ) or (curTime > 725 and curTime <= 730) or
                      (curTime > 855 and curTime <= 905 ) or (curTime > 1025 and curTime <= 1035) or
                      (curTime > 1200 and curTime <= 1210 ) or (curTime > 1225 and curTime <= 1230) or
                      (curTime > 1240 and curTime <= 1245 ) then
                      Plot3( 0,"Reversal Zone");
                      If ( curTime >= 1300 and curTime <=2400 ) or ( curTime >= 0000 and curtime <= 630 )
                      then
                      Plot4 ( 0, "Night Zone");

                      Comment


                        #12
                        Below is the complete code. Sorry for any confusion
                        Last edited by chartlearner; 09-25-2008, 09:57 AM. Reason: to make it clear i reposted the complete code

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by judysamnt7, 03-13-2023, 09:11 AM
                        4 responses
                        59 views
                        0 likes
                        Last Post DynamicTest  
                        Started by ScottWalsh, Today, 06:52 PM
                        4 responses
                        36 views
                        0 likes
                        Last Post ScottWalsh  
                        Started by olisav57, Today, 07:39 PM
                        0 responses
                        7 views
                        0 likes
                        Last Post olisav57  
                        Started by trilliantrader, Today, 03:01 PM
                        2 responses
                        22 views
                        0 likes
                        Last Post helpwanted  
                        Started by cre8able, Today, 07:24 PM
                        0 responses
                        10 views
                        0 likes
                        Last Post cre8able  
                        Working...
                        X