NexusFi: Find Your Edge


Home Menu

 





Support and resistance indicator


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Adamus with 33 posts (32 thanks)
    2. looks_two bgeorge with 9 posts (1 thanks)
    3. looks_3 Cloudy with 6 posts (3 thanks)
    4. looks_4 Abde with 5 posts (2 thanks)
      Best Posters
    1. looks_one trendisyourfriend with 1.7 thanks per post
    2. looks_two Adamus with 1 thanks per post
    3. looks_3 COTtrader with 0.7 thanks per post
    4. looks_4 Cloudy with 0.5 thanks per post
    1. trending_up 31,225 views
    2. thumb_up 47 thanks given
    3. group 17 followers
    1. forum 63 posts
    2. attach_file 15 attachments




 
Search this Thread

Support and resistance indicator

  #21 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789


fcg237 View Post
Hi @Adamus,

It is possible to only plot the lines of support and resistance for a range chart without looking to a 15 minute candle chart? when i tried it plotted a lot of lines and my ninja didnt respond for 5 minutes. I just want it to plot the last 3 days Sup/Res lines.

Thanks!

fcg237

OK but what's a range chart? Do you want to give me an example?

Did you enable all of the different time-frames? Or did you just use the defaults?

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Better Renko Gaps
The Elite Circle
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Futures True Range Report
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #22 (permalink)
 Cloudy 
desert CA
 
Experience: Intermediate
Platform: NT7, various
Broker: various, TDA
Trading: NQ,ES
Posts: 2,124 since Jul 2011
Thanks Given: 2,396
Thanks Received: 1,748

I just noticed your new indicator Adamus, Congrats and thanks! I look forward to have fun trying it out and will let you know if I have comments about it.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #23 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789


Thanks Cloudy, just remember it's in beta testing though. There are some serious usability issues that need to be sorted out, as per the list above.

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #24 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789

Just uploaded a bug-fix version.

I had several situations where I was running into 'index out-of-bounds' situations, or race conditions where it just sat there and hogged as much CPU as it could get.

This indicator is proving to be a lot more complicated than I thought. Several factors increase how difficult it is to get it right:

- multiple time-series (this one now has 10, all hard-coded in, but 95% disabled unless used)

- the current time-zone shift with Daylight Saving now in the US but not in Europe for 2 weeks

- the new update of Ninjatrader (7.0.0.12) which technically should be effortless but always causes something to go wrong

- Interactive Brokers as a data provider to NT7 with the tendency for unnecessary data requests resulting in IB "pacing violations"

- the built-in indexing of bar references being descending past -> present in the OnBarUpdate event, but ascending in the override Plot function

- in fact, anything to do with the Plot function

Finally, I am at the point where I can advance onto the next bit of functionality needed, which is the merging of the S/R lines when they are close together.

Depending on how long that takes, I'll either post it as v4 as soon as complete or I'll carry on and code some functionality to make the labelling of the lines better.

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #25 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537

Notifications sent.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #26 (permalink)
 
Adamus's Avatar
 Adamus 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, home-grown Java
Broker: IB/IQFeed
Trading: EUR/USD
Posts: 1,085 since Dec 2010
Thanks Given: 471
Thanks Received: 789

Thanks @Big Mike - that's not automatic when I do the upload then?

New list of things to do, in rough order of importance:
  1. automatically merge S/R lines that are close together, with a parameter that tells the indie what "close together" actually is in terms of ticks
  2. show labels only on mouse-over of a small part of the line
  3. add a rule to kill off or reverse S/R lines when broken - go over charts & work out what best represents a killer event
  4. add a parameter for how much above & below an S/R line to include in the rectangle
  5. parameterize how many bars either side of the swing high / low are needed to make it a swing high / low. It's currently fixed at 2, but 3 or 4, or 3 before, 2 after might be better (this might be an effective way to cut down the number of lines)
  6. instead of just a line for a level, create a zone based on how the swing point was formed, e.g. just the tails of the candles, or the hi and low of the small candle in a morning star candlestick pattern etc.
  7. create a dataseries property with all the levels in, which a strategy can call

If anybody wants to give me some thoughts about what exactly defines when an S/R level is clearly broken, that'd be appreciated.

What I thought would be easiest to code - the lines at round numbers - is turning out to be the most complicated, because it can be either S or R. Took me a while to work out the simplest solution.

You can discover what your enemy fears most by observing the means he uses to frighten you.
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #27 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,398 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Adamus View Post
Thanks @Big Mike - that's not automatic when I do the upload then?

No, I have to do it manually - and I do it once I see a post indicating it was updated. Just help me by editing the description of the download and including a small date/changelog at the bottom so when people get the notification, they can check to see if they need to update or not.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #28 (permalink)
 HitTheCity 
Melbourne
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Forex
Posts: 102 since Apr 2012
Thanks Given: 78
Thanks Received: 46


Quoting 

If anybody wants to give me some thoughts about what exactly defines when an S/R level is clearly broken, that'd be appreciated.

How about something like if the price has traded beyond an S/R line by more than x ticks for n amount of bars, consider it broken. For example, if the price has pierced a resistance line by more than 5 ticks for 3 consecutive bars, consider the resistance broken. Just an idea I'm throwing out there, it may be flawed. One good thing about this approach is that it would allow a quick spike past an S/R line without invalidating it. So if market momentum happens to carry the price briefly through an otherwise 'valid' S/R line, the indicator won't just discard it.

Reply With Quote
Thanked by:
  #29 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,171
Thanks Received: 6,018


Quoting 
If anybody wants to give me some thoughts about what exactly defines when an S/R level is clearly broken, that'd be appreciated.

What about fading the level on paper. If you lose then just consider it broken.

Seriously, as a rule of thumb if price breaks a level and retest it and make a higher high then it is considered broken.


Reply With Quote
Thanked by:
  #30 (permalink)
 Cloudy 
desert CA
 
Experience: Intermediate
Platform: NT7, various
Broker: various, TDA
Trading: NQ,ES
Posts: 2,124 since Jul 2011
Thanks Given: 2,396
Thanks Received: 1,748


I've been using the indicator, thanks. I just set the day, weekly , and 1st and 2nd sub sessions to 'true'. Everything else to 'false'. Very nice levels.

example:

Attached Thumbnails
Click image for larger version

Name:	support_level_tagged.JPG
Views:	435
Size:	86.4 KB
ID:	107061  
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on May 3, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts