Discussions
»
Special Interest Groups
»
Tips & Tricks
»
Pivot Points for tomorrow on the last bar
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 9/26/2005(UTC) Posts: 185 Location: Brazil
|
This indicator was done for a friend of mine (Waldir)
It works but I am sure someone here can improve on it. (I am sharing it anyway)
Waldir1:=LastValue(((Typical()-((2*Typical())+H-L))*-1)); Waldir2:=LastValue( ((2*Typical())-L)); Waldir3:=LastValue(Typical()); Waldir4:= LastValue(((2*Typical())-H)); Waldir5:= LastValue(((Typical()-((2*Typical())-H+L))*-1)); ValueWhen(1,Cum(1)=LastValue(Cum(1)),Waldir1); ValueWhen(1,Cum(1)=LastValue(Cum(1)),Waldir2); ValueWhen(1,Cum(1)=LastValue(Cum(1)),Waldir3); ValueWhen(1,Cum(1)=LastValue(Cum(1)),Waldir4); ValueWhen(1,Cum(1)=LastValue(Cum(1)),Waldir5);
Bulli
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
You may also be interested in the intraday pivots formula found here.
jose '-)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey bulli.... thats neat, thanks for sharing..... i have something similar and when coded into a expert it lets you look back and see how the pivots preformed.... the s's are support and r's are resistance.... when using dots and coloring appropriately , past preformance can be seen.... and of course the expert can be applied with or without the indicator itself..... it plots daily with alerts.....h
pivot:=(H + L + C)/3; r1:= (2 * pivot - L); s1:= (2 * pivot - H); r2:= (pivot - s1 + r1); s2:= (pivot - (r1 - s1)); r3:= (2 * (pivot - L) + H); s3:= (L - (2 * (H - pivot))); pivot;r1;s1;r2;s2;r3;s3
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 9/26/2005(UTC) Posts: 185 Location: Brazil
|
Thank you Jose and Hayseed for sharing.
I am sure I will be using some of that in my codings, and many others here.
Bulli
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 9/26/2005(UTC) Posts: 185 Location: Brazil
|
hayseed wrote:
pivot:=(H + L + C)/3; r1:= (2 * pivot - L); s1:= (2 * pivot - H); r2:= (pivot - s1 + r1); s2:= (pivot - (r1 - s1)); r3:= (2 * (pivot - L) + H); s3:= (L - (2 * (H - pivot))); pivot;r1;s1;r2;s2;r3;s3
Can I ask a question?
Why you just did not say
pivot:=typical();
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 9/26/2005(UTC) Posts: 185 Location: Brazil
|
hayseed wrote:
pivot:=(H + L + C)/3; r1:= (2 * pivot - L); s1:= (2 * pivot - H); r2:= (pivot - s1 + r1); s2:= (pivot - (r1 - s1)); r3:= (2 * (pivot - L) + H); s3:= (L - (2 * (H - pivot))); pivot;r1;s1;r2;s2;r3;s3
Hi Hayseed,
Can I ask a question?
Why you just did not say
pivot:=typical();
Thanks,
Bulli
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey bulli.... i should use typical ..... some of the guys over at ethois are always talking about piviots .... thats something kinda adapted from them so i just left the code as close as possible to their thinking.... pivots aren't something i use, just a curiosity more than anything.....h
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 6/3/2005(UTC) Posts: 64 Location: India
|
HI
can u pls guide me how to make an indicator by using the above formula.
i have these formula's from past but i really dont know how to get the expert developed from that.
indicator and expert both required.
if possible then explorer also....
thanks in advance.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Discussions
»
Special Interest Groups
»
Tips & Tricks
»
Pivot Points for tomorrow on the last bar
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.