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

Notification

Icon
Error

Options
Go to last post Go to first unread
metastocklogin  
#1 Posted : Sunday, July 23, 2017 3:25:08 PM(UTC)
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)
wabbit

Rank: Advanced Member

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

Was thanked: 16 time(s) in 16 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)
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)
wabbit

Rank: Advanced Member

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

Was thanked: 16 time(s) in 16 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)
uasish

Rank: Advanced Member

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

Thanks: 7 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

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.