Rank: Newbie
Groups: Registered, Registered Users Joined: 2/23/2005(UTC) Posts: 9
|
What I am trying to do is highlight on the chart when the close is equal to a T3 (moving average)
Say the close is 1.61 and the value of 1.61514 on my T3
By rounding it I would be off by a cent. Anyway to drop the fractions?
I tried something like
C + or - .009 = Fml("T3")
Any ideas? I'll keep reading on.
Thanks
|
|
|
|
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 about the precision function, Have you looked into it?
Patrick :mrgreen:
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 2/23/2005(UTC) Posts: 9
|
Patrick wrote:What about the precision function, Have you looked into it?
Patrick :mrgreen:
Thanks for the reply Patrick. I took a look at it and still playing around with it. I figure it out sooner or later:)
This is the formula I use for T13
e1:=Mov(C,13,E);
e2:=Mov(e1,13,E);
e3:=Mov(e2,13,E);
e4:=Mov(e3,13,E);
e5:=Mov(e4,13,E);
e6:=Mov(e5,13,E);
c1:=-.618*.618*.618;
c2:=3*.618*.618+3*.618*.618*.618;
c3:=-6*.618*.618-3*.618-3*.618*.618*.618;
c4:=1+3*.618+.618*.618*.618+3*.618*.618;
c1*e6+c2*e5+c3*e4+c4*e3;
Now trying to get " Prec(Data Array, Precision)" to work in that code somehow. I'm going to make 10 cups of coffee now :)
I'm just looking to plot on the chart when the close equals the value of T13
Uggg with the fractions of a cent :)
Thanks and take care
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 2/23/2005(UTC) Posts: 9
|
|
|
|
|
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.