Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (2) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #41 (permalink)  
Old 08-19-2007, 07:43 AM
Senior Member
 
Join Date: Jun 2006
Posts: 1,231
prasxz is on a distinguished road
Zz

Hi,

I think there's zigzag indicator that not repaint....HiLow Zigzag is not repaint

===================
Forex Indicators Collection
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42 (permalink)  
Old 09-11-2007, 01:45 PM
Junior Member
 
Join Date: Oct 2006
Posts: 27
Bone is on a distinguished road
I don't want to be importunate, but it would be very nice if someone can make this trend lines to update automatically. When I run backtest with this indicator there is only zigzag line updating, but trend lines stays at their initial positions. Is there any way to fix it? I've tried to do this by myself but nothing worked. Sorry for bad english and thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43 (permalink)  
Old 09-11-2007, 01:53 PM
Senior Member
 
Join Date: Mar 2006
Posts: 242
toddanderson is on a distinguished road
Could someone post these indicators

Please post these indicators

Quote:
Originally Posted by stljeffbb View Post
Here is the code for these three indicators written in metastock/tradestation language:


ZIG ZAG VALIDATION

This indicator validates the LAST LEG of Zigzag.

Values returned:
1 = valid leg (not revisable), 0 = invalid leg (revisable).
Do NOT use this indicator in systems or for backtesting.}
perc:=Input("Percent",0.0001,1000,10);

Z:=Zig(CLOSE,perc,%);
last:=ValueWhen(1,( Z > Ref(Z,-1) AND Ref(Z,-1) < Ref(Z,-2) )
OR
( Z < Ref(Z,-1) AND Ref(Z,-1) > Ref(Z,-2) ),
Ref(Z,-1));

pc:=(CLOSE-last) * 100 / last;
pc:= Abs(pc);

SD:=(z>Ref(z,-1) AND Ref(z,-1)>Ref(z,-2)) OR (z<Ref(z,-1) AND Ref(z,-
1)<Ref(z,-2));

res:=If(pc>=perc ,1,0);
If(Alert(res,2) AND SD,1,res)



ZIG ZAG TREND
{This is a safe indicator as it deals with valid trends only.
You can trade it directly or incorporate it in any other
tool or system.}

Values returned:
1 = Valid uptrend, -1 = valid downtrend }

vr:=Input("Field (0=Ind/tor, 1=Open, 2=High, 3=Low, 4=Close)",0,4,0);
amnt:=Input("Reversal amount",0.0001,1000,10);
md:=Input("Method (1=Percent, 2=Points)",1,2,1);

vr:=If(vr=1,OPEN,If(vr=2,HIGH,If(vr=3,LOW,If(vr=4, CLOSE,P))));
zz0:=If(md=1, Zig(vr,amnt,%), Zig(vr,amnt,$));
zz1:=Ref(zz0,-1);
zz2:=Ref(zz0,-2);

tr:=ValueWhen(1,zz0>zz1 AND zz1<zz2, zz1);
pk:=ValueWhen(1,zz0<zz1 AND zz1>zz2, zz1);
PU:=If(md=1,tr+Abs(tr)*amnt/100,tr+amnt);
PD:=If(md=1,pk-Abs(pk)*amnt/100,pk-amnt);

res:=If(vr>=PU AND zz0>zz1,1,
If(vr<=PD AND zz0<zz1,-1,0));
res:=If(res<>0,res,ValueWhen(1,res<>0,res));
res

ZIG ZAG THRESHOLD

{This indicator returns the price at which Zigzag Trend (ZZT) will change direction
(the price at which we will have a new confirmed trend)}

vr:=Input("Field (0=Ind/tor, 1=Open, 2=High, 3=Low, 4=Close)",0,4,0);
amnt:=Input("Reversal amount",0.0001,1000,10);
md:=Input("Method (1=Percent, 2=Points)",1,2,1);


vr:=If(vr=1,OPEN,If(vr=2,HIGH,If(vr=3,LOW,If(vr=4, CLOSE,P))));
zz0:=If(md=1, Zig(vr,amnt,%), Zig(vr,amnt,$));
zz1:=Ref(zz0,-1);
zz2:=Ref(zz0,-2);


tr:=ValueWhen(1,zz0>zz1 AND zz1<zz2, zz1);
pk:=ValueWhen(1,zz0<zz1 AND zz1>zz2, zz1);
PU:=If(md=1,tr+Abs(tr)*amnt/100,tr+amnt);
PD:=If(md=1,pk-Abs(pk)*amnt/100,pk-amnt);

res:=If(vr>=PU AND zz0>zz1,1,
If(vr<=PD AND zz0<zz1,-1,0));
res:=If(res<>0,res,ValueWhen(1,res<>0,res));


top:=HighestSince(1,res>Ref(res,-1),vr);
bot:=LowestSince(1,res<Ref(res,-1),vr);

threshold:=If(res=-1,
If(md=1,bot+Abs(bot)*amnt/100,bot+amnt),If(md=1,top-Abs(top)*amnt/100,top-amnt));

threshold;



Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44 (permalink)  
Old 09-11-2007, 08:25 PM
kohzadi's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Tehran-IR Iran
Posts: 110
kohzadi is on a distinguished road
salam codersguru
Thank you for your great indicator.
I consider to test this in visual mode of strategy tester but it doesn’t work properly in visual mode (don’t draw yellow lines).
Can you modify zigzag channel indicator for this.
Thanks in advance
__________________
health & wealth , success & happiness
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45 (permalink)  
Old 10-03-2007, 08:25 PM
Junior Member
 
Join Date: Sep 2007
Posts: 7
mashki is on a distinguished road
Question

What about the exit?Any ideas....
Attached Images
File Type: jpg jpy_zgzag.jpg (85.6 KB, 984 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #46 (permalink)  
Old 10-06-2007, 11:58 PM
viat's Avatar
Member
 
Join Date: Sep 2005
Posts: 32
viat is on a distinguished road
Zigzag

Is it possible to find ZZ indi with adjustable minimum % of price range?

Thanks
Viat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47 (permalink)  
Old 10-07-2007, 01:03 AM
xard777's Avatar
Senior Member
 
Join Date: Mar 2006
Location: Dominican Republic
Posts: 396
xard777 is on a distinguished road
Here is my first attempt at adding Auto Quadrant lines to coders ZigZag Channels indicator.
You can change the colour & style of the Quadrant lines from the user menu.

What are Quadrant lines?

You select a peak and a bottom and you divide the distance between them into four equal sections.
The lines that separate these sections are called Quadrant lines and they are:
  • the trough (the lowest price line) or 0% line
  • the 25% line,
  • the 50% line (the middle of the distance between peak and trough)
  • the 75% line
  • and the peak (the highest price line) or 100% line
  • I have also added ±25% & ±50% Quadrant Lines for future S&R
Many traders use Quadrant lines to predict levels of price retracements.
When prices move between a recent peak-trough pair they often find
temporary support and resistance at or near the Quadrant lines.

I include the mq4 file if anyone is interested in taking it further.

Xard777

enc indicator plus chart showing indicator.
Attached Images
File Type: gif zzt+auto_quadrant.gif (31.8 KB, 888 views)
Attached Files
File Type: mq4 ZigZag_Channels+Auto_Quadrant_lines-v1.0.mq4 (11.9 KB, 375 views)

Last edited by xard777; 10-07-2007 at 01:38 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48 (permalink)  
Old 10-07-2007, 05:25 AM
matfx's Avatar
Senior Member
 
Join Date: Sep 2007
Location: Malaysia
Posts: 360
Blog Entries: 3
matfx is on a distinguished road
Great job XArd777!

The Quadrant lines indeed further in helping trade using zigzag channel, where the price find the SR.

If you can add an alert if price breaking the channel lines it will be great.

Thanks. You da man!

matfx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49 (permalink)  
Old 10-07-2007, 02:25 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,793
Blog Entries: 144
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by viat View Post
Is it possible to find ZZ indi with adjustable minimum % of price range?

Thanks
Viat
Check this thread Zigzag indicators (may be you will find something there).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50 (permalink)  
Old 03-11-2008, 11:35 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 3,301
Blog Entries: 46
Linuxser has disabled reputation
Quote:
Originally Posted by codersguru View Post
Hi there!
A new indicator needs your comments !
ZigZag Channels
Coders,

could be this indicator translated to the new zig zag code.
Thanks mate.
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
zigzag, zigzag channels, ZigZag Channel

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/4902-zigzag-channels.html
Posted By For Type Date
sr ZIGZAG indicator - Forex Trade swicki - powered by eurekster This thread Refback 12-08-2007 07:25 PM
Mari bermain dengan ZIGZAG - Page 37 - Nogold.com This thread Refback 10-09-2007 06:20 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zigzag newdigital General Discussion 51 03-06-2008 11:21 AM
Simple Trend Lines/Channels luxinterior Indicators - Metatrader 4 5 12-30-2007 03:08 PM
Hurst Channels dada260 Indicators - Metatrader 4 5 06-10-2006 01:58 AM
Request Kelner Channels out_kold Indicators - Metatrader 4 1 06-04-2006 05:28 AM


All times are GMT. The time now is 10:24 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.