Announcement

Collapse
No announcement yet.

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.

      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]

          Comment


            #20
            Thank you sorry I did not notice that!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            65 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            139 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            75 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            45 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            50 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X