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

NinjaTrader DDE Connection

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

    #46
    Remove both scripts, the original one and duplicated. Exit from NT.
    Restart NT then reinstall it. Exit again from Nt and restart it.
    If GC isn't load yet, check data feed.
    I recall that error appeared when I interrupted CME Globex subscription.
    Are you enabled only for "CBOT" originally traded contracts?
    Try with agricultural, if them works, contact your broker/FMC asking for
    Exchanges subscription status and fee related information.

    Originally posted by ActiveTrader09 View Post
    The 2 log error messages was caused by duplicate copies of the script I had installed.

    Unfortunately, I still get the #REF error with GC; however, YM works fine.
    Last edited by aandb; 05-01-2017, 08:37 AM.

    Comment


      #47
      If NQ works,Then seems to be data feed issue.
      Check the exchanges subscription with your broker/FMC


      Originally posted by ActiveTrader09 View Post
      The 2 log error messages was caused by duplicate copies of the script I had installed.

      Unfortunately, I still get the #REF error with GC; however, YM works fine. NQ works too. It seems like the data is not being received via the script. I just have no clue as to why. In Excel I am using, =GC|GC!LAST, like NQ and YM.
      Last edited by aandb; 05-01-2017, 08:38 AM.

      Comment


        #48
        I just noticed all 3 symbols will intermittently update their last prices in the same cell with =YM|YM!LAST and =NQ|NQ!LAST.

        I just got all 3 to update correctly by using the same program name, i.e. YM, =YM|YM!LAST, =YM|NQ!LAST, and =YM|GC!LAST. It may not "suppose" work that way, but it is working for me. Thanks for all your help.

        Comment


          #49
          In the same raw and column cell? Strange to hear.

          You are welcome.



          Originally posted by ActiveTrader09 View Post
          I just noticed all 3 symbols will intermittently update their last prices in the same cell with =YM|YM!LAST and =NQ|NQ!LAST.

          I just got all 3 to update correctly by using the same program name, i.e. YM, =YM|YM!LAST, =YM|NQ!LAST, and =YM|GC!LAST. It may not "suppose" work that way, but it is working for me. Thanks for all your help.

          Comment


            #50
            Now that I can receive the last price, I would like to receive the day's high, low, and open from the script. Is each element a different script, i.e, day's high, low, and open each would be a different script? I have no idea what to modify in the script to get day's high, low, and open.

            Any help would appreciated.

            Comment


              #51
              You can load bid, ask, last with the same script.
              I don't really know if it points to the dome items or to the indicators loaded in
              The chart.
              Try to add an indicator of the daily open, high, low in the way it is clearly
              Declared on the chart and call it with the script.
              With a little luck could work. The best way would be to
              Write to the coder, frankly I've never been able to.
              If you reach some result, please, let me know.
              You woke up an old interesting matter.
              Good luck.




              Originally posted by ActiveTrader09 View Post
              Now that I can receive the last price, I would like to receive the day's high, low, and open from the script. Is each element a different script, i.e, day's high, low, and open each would be a different script? I have no idea what to modify in the script to get day's high, low, and open.

              Any help would appreciated.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by junkone, Today, 11:37 AM
              2 responses
              12 views
              0 likes
              Last Post junkone
              by junkone
               
              Started by frankthearm, Yesterday, 09:08 AM
              12 responses
              43 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by quantismo, 04-17-2024, 05:13 PM
              5 responses
              35 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by proptrade13, Today, 11:06 AM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by love2code2trade, 04-17-2024, 01:45 PM
              4 responses
              35 views
              0 likes
              Last Post love2code2trade  
              Working...
              X