Dark Theme
Light Theme
Welcome to NexusFi: the best trading community on the planet, with over 200,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 -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Updated November 14, 2021
trending_up
5,414 views
thumb_up
2 thanks given
group
2 followers
forum
3 posts
attach_file
0 attachments
November 13th, 2021, 10:17 AM
Boise, Idaho
Experience: Intermediate
Platform: TOS
Trading: Stocks
Posts: 37 since Aug 2013
Thanks Given: 56
Thanks Received: 9
Hi All,
Need some help converting this ThinkScript line to Easylanguage .
def Bollinger_Keltner = reference BollingerBands("Num" = 2, "length" = 20 )."upperband" - KeltnerChannels("Fac" = 1, "length" = 20)."Upper_Band";
Any help is greatly appreciated!
Thank you!!
AP
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
November 14th, 2021, 03:38 PM
Lyon/France
Posts: 23 since Aug 2012
Thanks Given: 1
Thanks Received: 14
hi,
in the following way you can also easily
construct all the other calculations you might need...
Code
Inputs:
BBPeriod(20),
KPeriod(20),
Mult(2),
FactorATR(1.0);
Vars:
BB_Line(0),StDev(0),BBUpperBand(0),BBLowerBand(0),
K_Line(0),Deviation,KUpperBand(0),KLowerBand(0),X;
BB_Line = Average(Close, BBPeriod);
StDev = StandardDev( Close, BBPeriod, 1 );
BBUpperBand = BB_Line + Mult * StDev ;
BBLowerBand = BB_Line + Mult * StDev * -1 ;
K_Line = Average(Close, KPeriod);
Deviation = FactorATR * AvgTrueRange( KPeriod );
KUpperBand = K_Line + Deviation ;
KLowerBand = K_Line - Deviation ;
X = BBUpperBand - KUpperBand;
November 14th, 2021, 03:47 PM
Lyon/France
Posts: 23 since Aug 2012
Thanks Given: 1
Thanks Received: 14
hi,
in the following way you can also easily
construct all the other calculations you might need...
Code
Inputs:
BBPeriod(20),
KPeriod(20),
Mult(2),
FactorATR(1.0);
Vars:
BB_Line(0),StDev(0),BBUpperBand(0),BBLowerBand(0),
K_Line(0),Deviation,KUpperBand(0),KLowerBand(0),X;
BB_Line = Average(Close, BBPeriod);
StDev = StandardDev( Close, BBPeriod, 1 );
BBUpperBand = BB_Line + Mult * StDev ;
BBLowerBand = BB_Line + Mult * StDev * -1 ;
K_Line = Average(Close, KPeriod);
Deviation = FactorATR * AvgTrueRange( KPeriod );
KUpperBand = K_Line + Deviation ;
KLowerBand = K_Line - Deviation ;
X = BBUpperBand - KUpperBand;
November 14th, 2021, 03:49 PM
Boise, Idaho
Experience: Intermediate
Platform: TOS
Trading: Stocks
Posts: 37 since Aug 2013
Thanks Given: 56
Thanks Received: 9
Kolnidrei, thank you so very much!!😀
Last Updated on November 14, 2021