Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/27/2006(UTC) Posts: 135
|
Wanted to calculate the number of bars from zigzag low to the next zigzag low. The TroughBars(Nth, Data Array, %Minimum Change) calculate nicely but wanted to plot this calculated bars number on the bar which zigzag is stable and not subject to change.Once zigzag has make a pivot low and price has moved minimum x% satisfying the zigzag the indicator would plot the stable low to low bar number on the bar satisfying the zigzag. The current TroughBars(Nth, Data Array, %Minimum Change) plots on zigzag pivot low which is not realistic
|
|
|
|
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)
|
Flexi,
As it seems just about every post is regarding the zz indicator and it's validity, I strongly recommend you invest some $$$ and some time and get the MDK.
wabbit [:D]
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 5/27/2006(UTC) Posts: 135
|
the mdk would have use for those really know how to to code
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
the Trough, TroughBars, Peak, and PeakBars functions look at the most recent confirmed peaks and troughs. when you are looking at a chart, the zig zag may change but the last leg of the indicator may not be confirmed yet. This could cause the indicator to look at different value than expected.
Once the point is confirmed, historical testing immediately recognize the reversal point on the bar it occurs. If you want to wait till the point is confirmed then you must compare the price to the most recent peak/trough and see if the set percentage move has occured.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
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.