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 CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          236 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          150 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          162 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          243 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          198 views
          0 likes
          Last Post CarlTrading  
          Working...
          X