Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help With Indicator

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

    Help With Indicator

    Click image for larger version

Name:	image.png
Views:	88
Size:	1.4 KB
ID:	1314629

    I have an indicator that paints rectangles on my chart. I'm only interested in highlighting the price range where 3 or more rectangles contain the same price range.

    For example

    one rectangle has a low price of 100 with a high of 200.

    another has a low price of 120 and a high of 180.

    another has a low price of 142 and a high of 164.​

    so then they all will overlap at the price range of 142 and 164 because they all contain it.

    These rectangles are drawn automatically by another indicator, and are also ended automatically or extended automatically.

    I'd just like to highlight bullish overlaps one color, and bearish overlaps another color. If anyone could help with this I'd be beyond grateful and not sure if this is allowed but I'm happy to tip.

    I'm not super super active on here but I want this bad so I'll try my best to stay attentive, my discord username however is "reetii"

    #2
    Hello imjustkaze,

    Thank you for your post.

    This thread will remain open for any members of the community who would like to assist you.

    You can also search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more:

    https://ninjatraderecosystem.com/sea...mming-services

    You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem, LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Let me know if I may be of further assistance.

    Comment


      #3
      Originally posted by imjustkaze View Post


      I have an indicator that paints rectangles on my chart. I'm only interested in highlighting the price range where 3 or more rectangles contain the same price range.

      For example

      one rectangle has a low price of 100 with a high of 200.

      another has a low price of 120 and a high of 180.

      another has a low price of 142 and a high of 164.​

      so then they all will overlap at the price range of 142 and 164 because they all contain it.

      These rectangles are drawn automatically by another indicator, and are also ended automatically or extended automatically.

      I'd just like to highlight bullish overlaps one color, and bearish overlaps another color. If anyone could help with this I'd be beyond grateful and not sure if this is allowed but I'm happy to tip.

      I'm not super super active on here but I want this bad so I'll try my best to stay attentive, my discord username however is "reetii"

      The easiest way to highlight and visually see the overlap regions is to use adjustable Opacity settings for your brushes. That way your overlap areas will not disappear and are discernible. Alternatively, you can code your indicator to only draw the overlapped regions.

      Here is an example I use to see the overlapped areas in one of my studies using different opacity for 3 (lime, blue, and purple) rectangles:

      Cheers!​

      Click image for larger version  Name:	XLV (Daily) 2024_08_19 (8_00_57 AM).png Views:	0 Size:	37.3 KB ID:	1314796
      Last edited by aligator; 08-19-2024, 09:41 AM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      576 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
      553 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