• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 8:54am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:54am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Simple Zigzag + Fibonacci Strategy 746 replies

zigzag indicator currency trading... H4 timeframe, and above 48 replies

Need Help - ZigZag EA and Indicator 8 replies

How to display Zigzag and Semafor Indicator with 5 digit values? 0 replies

Can someone explain the Zigzag and Semafor Indicator? 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 4
Attachments: ZigZag Indicator and Fibonacci Question!
Exit Attachments
Tags: ZigZag Indicator and Fibonacci Question!
Cancel

ZigZag Indicator and Fibonacci Question!

  • Post #1
  • Quote
  • First Post: Dec 27, 2010 9:56pm Dec 27, 2010 9:56pm
  •  mindreality
  • | Joined Mar 2010 | Status: Member | 338 Posts
Hi,

I am using the Zig Zag Indicator and the Fibonacci with my EA.

I draw the fibonacci line on two zig zag points.

When the price breaks the high or low of the fibonacci, how do I code my EA to determine whether the Zig Zag remains on the two points or not?
  • Post #2
  • Quote
  • Dec 27, 2010 10:30pm Dec 27, 2010 10:30pm
  •  akukaya
  • | Commercial Member | Joined Jul 2008 | 567 Posts
Quoting mindreality
Disliked
Hi,

I am using the Zig Zag Indicator and the Fibonacci with my EA.

I draw the fibonacci line on two zig zag points.

When the price breaks the high or low of the fibonacci, how do I code my EA to determine whether the Zig Zag remains on the two points or not?
Ignored

check the last value of zigzag using the icustom function.
if the last value zigzag differ, meaning it is already change value..
 
 
  • Post #3
  • Quote
  • Dec 27, 2010 10:38pm Dec 27, 2010 10:38pm
  •  mindreality
  • | Joined Mar 2010 | Status: Member | 338 Posts
How do I check the last value of the zig zag? Do I use shift1?

Is it something like this?


double ZigZagShift0 = iCustom(NULL,0,"ZigZag",12,5,3,0,0);
double ZigZagShift1 = iCustom(NULL,0,"ZigZag",12,5,3,0,1);

if (ZigZagShift0 == ZigZagShift1)
{
ZigZagHasNotChanged == true;
}
 
 
  • Post #4
  • Quote
  • Dec 27, 2010 10:51pm Dec 27, 2010 10:51pm
  •  mindreality
  • | Joined Mar 2010 | Status: Member | 338 Posts
Btw that might not be enough, because new zig zag points might have formed after my initial fibo points.

What I want is to find out with my EA whether the zig zag point in my fibo has shifted or not.
 
 
  • Post #5
  • Quote
  • Dec 28, 2010 12:06am Dec 28, 2010 12:06am
  •  mindreality
  • | Joined Mar 2010 | Status: Member | 338 Posts
Nvm, let me get the first part settled first.

Is the code I wrote above correct in order to check whether the last ZigZag point has changed?
 
 
  • Post #6
  • Quote
  • Dec 28, 2010 11:04am Dec 28, 2010 11:04am
  •  akukaya
  • | Commercial Member | Joined Jul 2008 | 567 Posts
Quoting mindreality
Disliked
How do I check the last value of the zig zag? Do I use shift1?

Is it something like this?


double ZigZagShift0 = iCustom(NULL,0,"ZigZag",12,5,3,0,0);
double ZigZagShift1 = iCustom(NULL,0,"ZigZag",12,5,3,0,1);

if (ZigZagShift0 == ZigZagShift1)
{
ZigZagHasNotChanged == true;
}
Ignored
zz=iCustom(NULL,0, "ZigZag", 0, 0);
if(zz>0)
{lastzz=zz;}

try this simple code
 
 
  • Post #7
  • Quote
  • Jan 13, 2011 10:47am Jan 13, 2011 10:47am
  •  WolfCounselor
  • | Joined Dec 2005 | Status: Member | 6 Posts
If someone could give me a helping hand, I really would appreciate it.
I am trying to identify the last two zig zag points and which one is the most recent.
How do I determine if the last fixed point was “last high” or “last low” using the icustom function?
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: lasthigh.gif
Size: 22 KB
Click to Enlarge

Name: lastlow.gif
Size: 18 KB
 
 
  • Post #8
  • Quote
  • Feb 4, 2011 2:23am Feb 4, 2011 2:23am
  •  shantuk
  • | Commercial Member | Joined Apr 2010 | 5 Posts
Can some one help me or give me sample code
 
 
  • Post #9
  • Quote
  • Feb 4, 2011 4:05am Feb 4, 2011 4:05am
  •  Zabana
  • | Joined Apr 2010 | Status: Member | 63 Posts
Hi,, is this what U sare looking for, Autofibo scale on H/L ?? The scale changes from diffrent TF´s depending on nearest H/L...
Attached Image
Attached File(s)
File Type: mq4 QuickFib.mq4   6 KB | 1,570 downloads
 
 
  • Post #10
  • Quote
  • Last Post: Feb 5, 2011 2:37am Feb 5, 2011 2:37am
  •  shantuk
  • | Commercial Member | Joined Apr 2010 | 5 Posts
Thnx! a lot I'll check n reply to U
 
 
  • Platform Tech
  • /
  • ZigZag Indicator and Fibonacci Question!
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023