Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-10-2006, 05:45 PM
Junior Member
 
Join Date: Dec 2005
Posts: 4
ShaderZ is on a distinguished road
How do i use the inputs for the ZigZag Indicator?

Hi,
Could someone explain to me how the inputs for the ZigZag indicator work? I tried looking through the code but there arn't any comments explaining how to use them, or how they affect the indicator. Ive been scratching my head at this problem for quite a while and finally decided to ask for some help.

Inputs for ZigZag indicator:
ExtDepth
ExtDeviation
ExtBackstep


And also. Why does this happen?:

Last edited by ShaderZ; 02-10-2006 at 05:53 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 02-10-2006, 06:17 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
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 ShaderZ
Hi,
Could someone explain to me how the inputs for the ZigZag indicator work? I tried looking through the code but there arn't any comments explaining how to use them, or how they affect the indicator. Ive been scratching my head at this problem for quite a while and finally decided to ask for some help.

Inputs for ZigZag indicator:
ExtDepth
ExtDeviation
ExtBackstep


And also. Why does this happen?:
I am not expert on zigzag but I think that it is seaching the low (for example) from the current bar up to ExtDepth periods back (ExtDepth bars back). If the new Low was not fould the indicator returns zero (no new Low).

Code:
val=Low[Lowest(NULL,0,MODE_LOW,ExtDepth,shift)];
      if(val==lastlow) val=0.0;
If the new Low was found so the indicator check this current new Low with the previous Low and if the current new Low is higher of the previous Low on the ExtDeviation point (if ExtDeviation=5 so if new Low is higher previous Low on 5 point) the indicator will not consider this new Low as a Low and we will still have the previous one:

Code:
if((Low[shift]-val)>(ExtDeviation*Point)) val=0.0;
What is ExtBackstep?
If we have several equal Lows (with the same value) so the indicator will consider the last one only.

If the current Low is higher than previous one but not more higher then previos Low plus ExtDeviation so we have the following:

Code:
for(back=1; back<=ExtBackstep; back++)
It means that indicator will check everything from the previous bar up to ExtBackstep bar.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 07-18-2007, 12:35 PM
Senior Member
 
Join Date: May 2007
Posts: 178
dvarrin is on a distinguished road
Hi,

I want to code an EA using Zigzag. Is there a way to get the value of the zigzag indicator; I mean the last top or bottom before the current position?

Cheers,
Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 07-27-2007, 10:11 PM
Member
 
Join Date: Mar 2006
Posts: 33
dr_richard_gaines is on a distinguished road
zigzag expert

Hi

In the metaeditor online code library there is one called fractal zigzag that goes against all of the rules but works good on h1 and up charts.

Dr Gaine$$$$$$$$$$


Quote:
Originally Posted by dvarrin View Post
Hi,

I want to code an EA using Zigzag. Is there a way to get the value of the zigzag indicator; I mean the last top or bottom before the current position?

Cheers,
Daniel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 09-30-2007, 08:57 AM
Senior Member
 
Join Date: Dec 2005
Posts: 142
trevman is on a distinguished road
ZigZag

i'm looking for a zigzag indicator and an explanation of how it works, can anyone help?
__________________
There is no candle.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 10-01-2007, 05:40 PM
Senior Member
 
Join Date: Jan 2006
Posts: 404
nicesurf is on a distinguished road
You can go to the other thread "general discussion"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 10-05-2007, 06:29 AM
kjhfdgjfhdghdf's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 686
kjhfdgjfhdghdf is on a distinguished road
This one maybe uses zigzag but exits and resumes on fractals.
Might work probably need to find sweet spot in settings.
Attached Files
File Type: mq4 Fractal_ZigZag_Expert.mq4 (7.1 KB, 284 views)
__________________
No
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 10-08-2007, 05:00 AM
Senior Member
 
Join Date: Jan 2006
Posts: 404
nicesurf is on a distinguished road
Zigzag could be a very profitable indicator when joined with Momentum and RSI.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 11-01-2007, 01:17 PM
Member
 
Join Date: Oct 2005
Posts: 35
yaniv_av is on a distinguished road
ZigZag indicator question

Hi all !

How can I retrieve (by code) the price for some point of the zigzag indicator ?
Suppose I want to know what is the price for the "corners" of the zigzag in that picture?

Thanks!
Attached Images
File Type: gif zigzag.gif (11.6 KB, 1303 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 11-01-2007, 04:15 PM
kjhfdgjfhdghdf's Avatar
Senior Member
 
Join Date: Mar 2007
Posts: 686
kjhfdgjfhdghdf is on a distinguished road
Quote:
Originally Posted by yaniv_av View Post
Hi all !

How can I retrieve (by code) the price for some point of the zigzag indicator ?
Suppose I want to know what is the price for the "corners" of the zigzag in that picture?

Thanks!
Well the whole problem with ZZ isnt ZZ, its broker data all they need do is change one little thing 4 days back when we don't see and it gives different result.Sick of watching this right before my eyes even the ones with repaint history the dates on the permanent arrows change like broker has moved the data high lows etc.Ive sent pictures to brokers asking why is this what have you done to the data they don't reply.Also that fractal_ZZ EA it opens limit orders I cant see how thats ZZ or fractals trading but maybe worth a test.
Also if anyone know where the Fractal_ZigZag custom indicator is to use the EA.....

This expert was made from a fractal zig zag indicator created |
//| by ikorigin expert, made by bobammax,
02:19:27 Fractal_ZigZag_Expert GBPUSDm,H1: SetIndexBuffer function must be called from custom indicator only
__________________
No

Last edited by kjhfdgjfhdghdf; 11-01-2007 at 04:40 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
zigzag, mtf zigzag, 123 Zigzag pointer indicator, FRACTAL ZIGZAG, zigzag indicator forex, zig zag indicator, how to use zigzag indicator


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DT-Zigzag EA pitch67 Suggestions for Trading Systems 16 03-20-2008 04:14 PM
Script with inputs like indicators and EA bhale Metatrader 4 1 06-07-2007 09:48 PM
ZigZag EA SeeCube Metatrader 4 2 01-26-2007 12:36 PM
ZIGZAG custom indicator prasxz Indicators - Metatrader 4 6 01-06-2007 06:23 PM


All times are GMT. The time now is 12:15 AM.



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