logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
metastocklogin  
#1 Posted : Sunday, July 23, 2017 3:25:08 PM(UTC)
Quote
metastocklogin

Rank: Newbie

Groups: Subscribers, Unverified Users
Joined: 7/23/2017(UTC)
Posts: 2

I am confused about the bulit in function zig,what it returns.How can i see the internal implementation of the function.

Zig(C,17,%)

wabbit  
#2 Posted : Sunday, July 23, 2017 5:27:46 PM(UTC)
Quote
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,106
Location: Perth, Western Australia

Was thanked: 12 time(s) in 12 post(s)

Your code is returning a series of (hindsight based) data, where the CLOSE price retraces 17% from the previous extreme value.  Which bit are you confused with?

metastocklogin  
#3 Posted : Tuesday, July 25, 2017 11:52:59 AM(UTC)
Quote
metastocklogin

Rank: Newbie

Groups: Subscribers, Unverified Users
Joined: 7/23/2017(UTC)
Posts: 2

I do not know how to upload a picture here.So i use the text to describe the scene.I create a indicator   zizagByliwen:Zig(C,17,%)   ,then i insert the  indicator on chart.i can see  the value zizagByliwen on each candlestick. my confusion is that when the indicator plot the peak bar,what the Zig value of the next bar. Obviously,the next bar does not retraces 17% from the the peak bar. when the cursor moves to any bar,what the zig value on the bar  represents.
wabbit  
#4 Posted : Thursday, July 27, 2017 2:42:55 AM(UTC)
Quote
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,106
Location: Perth, Western Australia

Was thanked: 12 time(s) in 12 post(s)

I still don't know what you're asking?? You cannot post images directly to the forum, so upload an image to your own webspace or another image host (there are lots of them, some are free) and post a link to that uploaded image.

uasish  
#5 Posted : Saturday, October 21, 2017 2:09:05 PM(UTC)
Quote
uasish

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 8/13/2005(UTC)
Posts: 170

Thanks: 1 times
Originally Posted by: metastocklogin Go to Quoted Post

I am confused about the bulit in function zig,what it returns.How can i see the internal implementation of the function.

Zig(C,17,%)

Zig / Peak / Trough are all HINDSIGHT based indicator ,Zig will get printed in every bar seeming like a straight line it should never be used in an indicator because the value of zig is DYNAMIC

Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.