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

New

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

    #16
    Sure that would be great, I know how to code in multi-languages including c but as expected NiNja trader seems to be very different. Is there videos or references that explain how the code structure works?

    Comment


      #17
      Hello RM,

      Thank you for your reply.

      The first link I shared in post number 2 of our thread has many great resources and links to a video webinar for the Strategy Builder. As I have suggested, it can be helpful to set up conditions and actions in the Strategy Builder and then click the "View Code" button to get an idea of how the code would be structured. Here is a link to that post again with some other relevant resources:Thank you for your time and patience.
      Emily C.NinjaTrader Customer Service

      Comment


        #18
        Hi well I did not know that the code was case-sensitive but I think I got that problem fixed now I'm getting this error message where is the signal? I guess I missed something in your code?
        Attached Files

        Comment


          #19
          Originally posted by RMin101 View Post
          Hi well I did not know that the code was case-sensitive but I think I got that problem fixed now I'm getting this error message where is the signal? I guess I missed something in your code?
          Hello RM,

          I addressed this in a previous reply:
          Hi I've programmed in several languages but I'm new here so a little help would be great: How do I code RVI example I've looking for when the value crosses the signal line so something like RVi[14](0) > RVi[14] (0) Signal How do I code getting the current time live if CurrentTime > 945 and Current time < 1200 How do


          It still has to do with casing. You have it typed out as 'sIGNAL' rather than 'Signal' - altogether the proper syntax to get the Signal plot value for the current bar, as shown in the example, is as follows:
          Code:
          myRVI.Signal[0]
          Emily C.NinjaTrader Customer Service

          Comment


            #20
            Thank you sorry I did not notice that!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by StockTrader88, 03-06-2021, 08:58 AM
            45 responses
            3,991 views
            3 likes
            Last Post johntraderuser2  
            Started by TAJTrades, Today, 09:46 AM
            0 responses
            6 views
            0 likes
            Last Post TAJTrades  
            Started by rhyminkevin, Yesterday, 04:58 PM
            5 responses
            62 views
            0 likes
            Last Post dp8282
            by dp8282
             
            Started by realblubb, Today, 09:28 AM
            0 responses
            8 views
            0 likes
            Last Post realblubb  
            Started by AaronKoRn, Yesterday, 09:49 PM
            1 response
            19 views
            0 likes
            Last Post Rikazkhan007  
            Working...
            X