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

Notification

Icon
Error

Options
Go to last post Go to first unread
dieselpr  
#1 Posted : Wednesday, June 22, 2005 3:17:56 PM(UTC)
dieselpr

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/27/2005(UTC)
Posts: 130

Does anyone know how to encode a 10 period MA that comes within 2 percent of it support or resistence level?
Patrick  
#2 Posted : Wednesday, June 22, 2005 3:21:27 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
What type of average are we talking about ? ( exponential, simple, variable , ... ) How do you calculate the support and resistance values? Patrick :mrgreen:
dieselpr  
#3 Posted : Wednesday, June 22, 2005 4:28:46 PM(UTC)
dieselpr

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/27/2005(UTC)
Posts: 130

I wanted to use a exponential moving avg. I'm really just interested in how you write the formule so it is within 2% of another varible. The support is going to be the normal formula of Resistance 3 = High + 2*(Pivot - Low) Resistance 2 = Pivot + (R1 - S1) Resistance 1 = 2 * Pivot - Low Pivot Point = ( High + Close + Low )/3 Support 1 = 2 * Pivot - High Support 2 = Pivot - (R1 - S1) Support 3 = Low - 2*(High - Pivot)
Patrick  
#4 Posted : Wednesday, June 22, 2005 8:55:15 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
It's easy :D Cross(Variable1,Variable2*.98) or the opposite Cross(Variable2*1.02,Variable1) Patrick :mrgreen:
henry1224  
#5 Posted : Thursday, June 23, 2005 12:25:13 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
There is a difference between the 2% of Variable*1.02 and the 2% of variable*.98 for a true 2% difference A:=Mov(C,10,S); Upper:=A*1.02; Lower:=(2*A)-Upper; Upper;A;Lower;
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.