Trading Articles |
Article Categories |
Article Tools |
What does "Log" do?
|
|
Updated
|
|
Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members |
- Genuine reviews from real traders, not fake reviews from stealth vendors
- Quality education from leading professional traders
- We are a friendly, helpful, and positive community
- We do not tolerate rude behavior, trolling, or vendors advertising in posts
- We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
|
(login for full post details)
|
#1 (permalink)
|
kauai, HI
Posts: 11 since Apr 2013
Thanks: 3 given,
3
received
|
hey guys, i'm trying to port some code to NT but my Easy Language knowledge is holding me back.
can someone explain what the "Log" term is doing here so i can write something for ninjascript?
Data = 0.25*Log((1+Value)/(1-Value));
what is "Log" doing here?
Data= is current bar equals
0.25*Log is one quarter of whatever log(?) is
( Value) is a number between .9999 and -.9999 so
(1+Value)/(1-Value) is a positive number (ratio) between 20,000 and .00005
thanks in advance for any help
|
|
|
|
|
Best Threads (Most Thanked) in the last 7 days on futures io |
|
|
(login for full post details)
|
#3 (permalink)
|
Site Administrator Swing Trader Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Posts: 49,765 since Jun 2009
Thanks: 32,302 given,
97,542
received
|
Logarithmic
Sent from my LG Optimus G Pro
|
|
|
(login for full post details)
|
#4 (permalink)
|
Legendary Market Wizard
Houston, TX
Experience: Advanced
Platform: Trading Technologies
Broker: Primary Advantage Futures. Also ED&F and Tradestation
Trading: Primarily Energy but also a little GE, GC, SI & Bitcoin
Posts: 3,972 since Dec 2013
Thanks: 3,268 given,
7,790
received
|
Don't think it's possible to type this so have to attach a graphic
|
|
|
The following user says Thank You to SMCJB for this post:
|
|
(login for full post details)
|
#5 (permalink)
|
kauai, HI
Posts: 11 since Apr 2013
Thanks: 3 given,
3
received
|
so if there was a piece of EasyLanguage code that was
Data = 0.25*Log((1+Value)/(1-Value));
would that be base 10 or base e?
what would the default be, i guess is my question?
|
|
|
(login for full post details)
|
#6 (permalink)
|
Posts: 2,230 since Apr 2013
Thanks: 409 given,
1,471
received
|
It's the natural logarithm, so base e.
Regards,
ABCTG
|
|
|
The following user says Thank You to ABCTG for this post:
|
|
Last Updated on July 2, 2014
|
|
Ongoing
|
|
March
|
|
Elite only
|
|
Elite only
|
|
April
|
|
|
|