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

Notification

Icon
Error

Options
Go to last post Go to first unread
Chris74  
#1 Posted : Thursday, November 22, 2012 7:25:24 AM(UTC)
Chris74

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/22/2012(UTC)
Posts: 2

Hi,

I search metastock code for hyperbolic tangent !

Thank you !

Chris
wabbit  
#2 Posted : Thursday, November 22, 2012 4:04:45 PM(UTC)
wabbit

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)
Code:

(exp(x)-1)/(exp(x)+1);


You'll need to watch out for overflow errors in the exp() function.


wabbit [:D]

Chris74  
#3 Posted : Saturday, November 24, 2012 6:16:58 AM(UTC)
Chris74

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/22/2012(UTC)
Posts: 2

Thank you Wabbit :)

A+

Chris
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.