Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

support/resistance

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

    support/resistance

    im using a sample reference to create a support/resistance indicator. this is what i have so far: edited: updated with 150 bars initial setting
    Attached Files
    Last edited by jcard55; 05-05-2009, 12:16 PM.

    #2
    jcard55,

    Right now you are using "startBar" for your MAX() function. You have not defined what this startBar is and that you need to do so before your code will do anything. You need to place in how many bars back you want to check for the highest high.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      jcard55,

      When you want to look for 50 bars you need to first ensure you actually have 50 bars. Please see this tip: http://www.ninjatrader-support2.com/...ead.php?t=3170
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Josh View Post
        jcard55,

        When you want to look for 50 bars you need to first ensure you actually have 50 bars. Please see this tip: http://www.ninjatrader-support2.com/...ead.php?t=3170
        i see what the tip is saying, however it seems to be working as normal even when set to 999 bars, e.g. no error message and using the most recent hi/lo when previous data up to the set number on bars is not available.

        Comment


          #5
          jcard55,

          It may or may not work. If you find it working then that is great.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          579 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          334 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X