| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Support/Resistance Indicator https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=514 |
Page 17 of 23 |
| Author: | Tomsic [ Sat Jun 20, 2015 4:28 pm ] |
| Post subject: | Support/Resistance Indicator |
Hi Slipshod, Very nice indy Is it possible to create a version of this that will draw boxes when and where resistance/support is broken as to suggest an area price may retest (support becomes resistance / resistance becomes support concept)? I'm not asking for myself, as I find it easy enough to identify and draw these areas on my own, but I'm trying to help a new trader out who is having trouble finding these areas I have limited coding capabilities, and always though this wasn't possible to do with MQL4, but your indicator has made me rethink that limitation Here's a chart example of what I'd be looking for: If this would be an easy edit that wouldn't cause someone much trouble, I'd greatly appreciate the help.. otherwise, maybe a point in the right direction so I could try and modify the existing code to look for these setups instead? |
|
| Author: | slipshod [ Sat Jun 20, 2015 4:30 pm ] |
| Post subject: | Support/Resistance Indicator |
That's exactly what it already does |
|
| Author: | Tomsic [ Sat Jun 20, 2015 4:37 pm ] |
| Post subject: | Support/Resistance Indicator |
Hmm, when I put it on my chart, it looked like it was doing things a bit differently.. ie. it would draw support boxes in uptrend instead of resistance becoming support? I highlighted with yellow boxes how it draws support areas.. and magenta shows two turncoat areas.. I guess I was hoping to just have Turncoat + show more of them as it seems to have missed a few? |
|
| Author: | slipshod [ Sat Jun 20, 2015 4:44 pm ] |
| Post subject: | Support/Resistance Indicator |
Tom, its actually only missed one, the zone around the 1.91330 area. The indicator can be configured by adjusting the "zone_fuzzfactor", "fractal_fast_factor" and "fractal_slow_factor". With values of 0.9, 1.5 and 6.0 respectively I get the following:- Not exactly the same as your hand-drawn zones, but some of those were broken by the price before it reversed upwards hence an indicator will not draw them. My screenshot shows a flaw in the indicator (which I'll get around to fixing one day), the 4th zone from the top is incorrectly classified as "weak" when as a Turncoat that's only been tested a couple of times its status should actually be "verified". Also there's a beautiful rising & converging wedge formation with a break out the top into a significant resistance level, as perfect an example of a "Wolfe Wave" as you could hope to see (they're powerful reversal patterns). I'm not saying the price is definitely going to reverse off that resistance, indeed its a brave man who bets against the GBP right now, but its created several of these on various charts recently & it certainly bears watching. |
|
| Author: | Tomsic [ Sat Jun 20, 2015 4:56 pm ] |
| Post subject: | Support/Resistance Indicator |
Thanks, slipshod.. I'll play around with those settings |
|
| Author: | slipshod [ Mon Jun 22, 2015 2:06 pm ] |
| Post subject: | Support/Resistance Indicator |
I don't want to turn this thread into a trading blog, but just for once here's an update of GBPCAD from my last post... I mentioned that the Wolfe Wave into resistance might see it reverse, and it did with a powerful hook back to touch on the median line of the Andrews Fork I added to the chart. I wasn't at my desk when it dropped hence missed that trade, but hopped on board the bounce-back long & have already taken some profit at the resistance level. Question now is whether the uptrend will resume or if it'll struggle to get back to 1.95000 - whether the Wolfe Wave was good enough for just that one downspike or if it heralded a change in trend on the H1 chart. |
|
| Author: | Tomsic [ Mon Jun 22, 2015 2:19 pm ] |
| Post subject: | Support/Resistance Indicator |
Nice call I bought GBPCAD around the same level, but just closed all of it for +75pips I don't know much about Wolfe Waves, but wouldn't be surprised if the daily pulled back a bit from here. Also, I know you don't want this to be a trading journal, but I'm sure other members wouldn't mind too much |
|
| Author: | mobthehop [ Tue Jun 23, 2015 3:38 am ] |
| Post subject: | Support/Resistance Indicator |
slipshot, I always meant to ask - would you be so kind and explain to an "uninitiated" what "zone_fuzzfactor", "fractal_fast_factor" and "fractal_slow_factor" calculate.. Thanks in advance |
|
| Author: | slipshod [ Tue Jun 23, 2015 4:15 am ] |
| Post subject: | Support/Resistance Indicator |
Sure mob. Firstly, I always think of support/resistance zones as being approximate areas where the price may turn. To identify these areas the program uses its own implementation of fractals - some other S/R indicators use zigzag but I found fractals more useful. There's actually two types of fractal which you can see on the chart if you set the fractal_show option to true - a "fast" one to identify most of the minor peaks & troughs, and a "slow" one to find the more significant turning points. Changing the values for slow & fast allows you to fine-tune the behaviour of this aspect of the indicator. Where-ever there's a fractal, the indicator will create a zone. Fuzzfactor adds an approximate area above & below the price extreme at the fractal, the larger the fuzzfactor the bigger the approximate zone will be. Zones that overlap are then merged together. So a higher fuzzfactor will find fewer but larger zones, whereas a lower one will find more zones & they'll be smaller and more specific. If the fuzzfactor is too high then the zones become too vague to be of use, if its too low then the chart is filled with small zones which is also not very useful. The reason I made these values configurable is that a setting that works on longer timeframes doesn't necessarily work for shorter ones. Generally the lower the timeframe, the higher the fuzzfactor required & potentially the fractal values may need to be reduced as well in order to show levels that meet the eye test. I hope that makes sense |
|
| Author: | michaeldz [ Wed Jul 22, 2015 8:45 pm ] |
| Post subject: | Support/Resistance Indicator |
Big thanks to Slipshod for this great indicator And I have found one bug (I think) - in FastFractals and SlowFractals Code: Select all Code: Select all Best regards |
|
| All times are UTC | Page 17 of 23 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|