Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I have converted Ehlers Phase Calculation from EasyLanguage to Ninjatrader (C#). I also converted all the degrees to radians with is the .net default. However, the output is not what I expect. Would someone be as kind to review my code to see where I went wrong? I provided a link of the Phase Calculation EasyLanguage code.
I recently revisited this indicator and realized I didn't upload the final version. Here it is. I dusted this off and am looking at using it for an exit for a strategy I'm working on.
I wasn't pleased with the way this was coded. So I fixed it.
This version will probably run better on COBC false than the original did on COBC true.
It will accept inputs other than the Close (ie Median, Weighted, Typical, etc)
And I got rid of the annoying and dopey comments that the Ninjascript Indicator Wizard puts in. Really guys, you don't need that stuff. It's embarrassing.
See if you can figure out why I made these changes. The operations that I removed were totally unnecessary. And you don't need to calculate the value of 2*Pi over and over again on every bar, it will always be the same. How utterly ridiculous.
I tested it in Market Replay. It plots the same as the original.
I did this for the fun of it. Since I have an Intergalactic Media Empire, I don't need to worry about whether this indicator will actually make me any money.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett