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 found Ehlers has a new oscillator out in Jan 2015 issue of TASC that combines the ssf with gain control.
If anyone has some free time, it would be great if you could convert to thinkscript and post. to save you time, keep in mind the supersmootherfilter is already in the TOS library so you can reference it.
the ssf part is no problem for me to convert to ssf. however, with the gain control, i am having a tough time understanding how to convert 2 of these easylanguage lines. any suggestions?
The lines I am having trouble scripting are:
I guess the first line is initialization of peak. Do you know how that is done in Thinkscript. The second line has a <>. Do you know what that means and how it is done in thinkscript?
Your help is much appreciated as always. If I can figure out those 2 lines, then I am home free.
Here is the EasyLanguage:
Can you help answer these questions from other members on NexusFi?
the if statement in the code is protecting the calculation from a divide by zero error.
so what it is saying is:
if the dividend Peak is not equal to zero then calculate Universal
You need to use the BarNumber() function call to replicate the Currentbar = 1 conditional
This is needed because Peak is initialized to zero, and for the first bar the Peak Calculation
will set Peak equal to zero causing the divide by zero fault in the calculation of Universal.