This is similar in appearance to II_SupDem, though not in the code as I've written this from scratch. I liked how II_SupDem created zones rather than exact price levels, but I wanted preservation of strong zones that are broken by the market in case they "switch sides", ie resistance-turned-support & vice versa.
If you see any bugs or have any suggestions, or better still, code, for improving this indicator, please let me know. You may also wish to visit my manual S/R based discussion thread at viewtopic.php?f=16&t=553, and Pippa's Crosstrader EA (which uses this indicator) forum at viewtopic.php?f=61&t=1999.
Edit: Updated to the latest version SS_SupportResistance_v0.4c, which includes alerts when zones are entered plus a bunch of other features/fixes added in other intermediate versions scattered throughout the thread.
Another Edit: LibSSSRv3 added to the downloads. It provides all the functionality of the indicator, except it does not (a) draw boxes or text, (b) set global variables, and (c) produce alerts. Its meant to be called directly by EAs, thus avoiding the need to use the indicator via iCustom calls or using global variables. Oh, and you can also process S/R zones for any currency pair, not just the one your EA's running on. I've added a sample EA using the library to better illustrate its use.
Bookmarks