Auto SR indicator

 

Hi,

Here is one interesting indicator I coded some time ago. It creates automatic trendlines + s/r levels based on given zigzag values. I think this is a great indicator (one of my own favourites).

I decided to share this after I noticed a similar one on "zigzag channels" and decided that what the heck, it's nice to share things

Enjoy!

Files:
auto_sr.gif  28 kb
 

Look very nice.. but not work ?

Thanks !

PT

 

It working great for me, thank you very much mikkom

Files:
4.gif  21 kb
 

It should. What's the problem?

edit: just a quick point, you must have zigzag indicator, it uses it internally to calculate lines.

 

Hi mikkom, you know what so funny?, last night i had the same idea as your! also with history lines and a bit more to it...

this is how my pictures looks like from last night...

if you already opened it, lets flow with it

 

very nice stuff mikkom...easy to eyeball SR...channel...wave & also fib ret & exp...

thnx alot

 

I still prefer drawing lines manually (you have plenty of time if you operate on hourly chars) but this kind of indicator is priceless when you don't notice some of the trendlines or sr levels, you can use this as a kind of map to check if there are any levels near the current price and then manually draw them if they seem significant.

If you want more lines, change historyLines parameter, if you want more combinations of lines between peaks, change lineCombinations parameter (it then uses peaks that are more distant from each other)

And if you want to mimic zigzag channels, change historyLines number to 1

 

Nice ind mikkom I like the trendlines logic in relation to price, and the SR is well placed. Probably the best trendline ind i have seen for Mt4.

 

Tell me please mikkom, do you open for some updates regarding the auto s/r indi? since i have few ideas that can help and will make it more flexible...

so this is what i have in mind,

*if the lines will start from the peaks it would be easer to spot which line belong to which peak when price hit it (like in my pic's)

*alert every time price hit s/r level

*option to Show ZZ on chart

*also it would be cool if this indi can be done as mtf

*also one more option to add is when price hit s/r level the line will come doted, this can help us to see the levels that were touched already

if you want some more ideas, i have tones of them

 

ahh

this one is great FIBSR...only wish i could add the other fibozones in different color..but it will allow only 2 top and 2 bottom..if anyone can get the other 1or 2 top and bottom fibo zones to fit that would be great..also works well with fibpiv.

youll see the math and you can make it show the other zones..just not all at the same time..or 2 indis with different math..will only do 1..wich blows..if anyone can play with it..that would be great..

Files:
fib_sr.mq4  4 kb
fib_sr.ex4  4 kb
 

Extra zones

automatedtrader:
this one is great FIBSR...only wish i could add the other fibozones in different color..but it will allow only 2 top and 2 bottom..if anyone can get the other 1or 2 top and bottom fibo zones to fit that would be great..also works well with fibpiv. youll see the math and you can make it show the other zones..just not all at the same time..or 2 indis with different math..will only do 1..wich blows..if anyone can play with it..that would be great..

Try this i have added in some extra levels including the central fib 50 level, i am not sure quite how this is supposed to be set up however the extra levels are coded in so just alter the fib raitos to suit yourself to give you the levels you require.

I Have put in the 0.50 / 0.382 & 1.618 levels

cja

fib_srv1.mq4

Files:
fib_srv1.mq4  6 kb