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

Notification

Icon
Error

Options
Go to last post Go to first unread
x30xe  
#1 Posted : Wednesday, January 12, 2011 3:49:59 PM(UTC)
x30xe

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/24/2010(UTC)
Posts: 2

Hi All,

Before I wrote this I went through this forum, but found nothing.

I’m working on the trading system based on Pivot points. And it looks like I just crashed the wall on something what looks very simple.

When working with Pivots there is always a problem that the most recent pivot is “not stable” as long it is not confirmed. In my particular case it seems like the best confirmation of pivot is next pivot. I mean pivot (n-1) is confirmed when pivot (n) is formed.

To find and plot pivots I use good, old add-on Power Pivots Plus.

And here comes my problem.
I would like to plot pivot (n-2) but NOT from the moment it was formed but from the moment pivot(n-1) (confirmation) is formed. Then pivot (n-1) starting when pivot (n) is formed, etc.

I tried to use Valuewhen function and counting bars for this job. Both didn’t work. It might be wrong logic or coding or both.

I’m not sure if the above is clear and understandable, I can’t think of anything better at the moment. English is not my first language .

But I will answer all questions, if asked

I would very much appreciate help.

Mark
johnl  
#2 Posted : Wednesday, January 12, 2011 6:51:48 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

A picture might help but it sounds like you want to bring the pivot forward one cycle.
I would first identify the changes (pivots) with: (value not equal to previous value) giving
either a 1 or 0 index, then using ValueWhen() to bring whichever one you want forward.


x30xe  
#3 Posted : Saturday, January 22, 2011 6:26:43 PM(UTC)
x30xe

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/24/2010(UTC)
Posts: 2

Problem solved. I took a "day off" and with fresh aproach I solved the problem.

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.