need help modifying bollinger and keltnerchannel - ThinkOrSwim Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming

need help modifying bollinger and keltnerchannel
Started:June 17th, 2016 (12:42 AM) by sibullsibear Views / Replies:160 / 0
Last Reply:June 17th, 2016 (12:42 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

need help modifying bollinger and keltnerchannel

Old June 17th, 2016, 12:42 AM   #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: thinkorswim
Favorite Futures: gld gc
Posts: 1 since Apr 2016
Thanks: 0 given, 0 received

need help modifying bollinger and keltnerchannel

hi..i newbie for using not a programmer who know coding etc...for last 3 years im trading only using thinkorswim, multi time frame , simple indicator EMA 8 - EMA 89....and TTM works for me and im comfortable using this indicator...recently i am using bollingerbands and keltnerchannel...i`ve tried to combined bollingerband and keltnerchannel with EMA 8 - 89 indicator so i dont need to make new window for bollingerband and keltner channel...which candle change the color when bollingerband upper and lower band inside the keltnerchannel...the problem is...i only can make this color into one color blue for i dont know the candle going up or down when bollingerband upper and lower band inside keltner it possible to make candle change the color based on price going up or down ??

this is the simple script


plot MA8 = movAvgExponential(length=8);

plot MA21 = movAvgExponential(length=21);

plot MA34 = movAvgExponential(length=34);

plot MA55 = movAvgExponential(length=55);

plot MA89 = movAvgExponential(length=89);

Addcloud(MA8, MA21, color.lime, color.magenta);

#Bollinger Squeeze
plot BBupper = BollingerBands().”Upperband” ;
plot KCupper = KeltnerChannels().”Upper_band” ;
plot BBlower = BollingerBands().”lowerband” ;
plot KClower = KeltnerChannels().”lower_band” ;


bbupper.DefineColor("Sqz", Color.BLUE);
BBlower.DefineColor("sqz", Color.BLUE);

AssignPriceColor(if BBupper < KCupper then bbupper.Color("sqz") else Color.CURRENT);

AssignPriceColor(if BBlower > KClower then BBlower.Color("sqz") else Color.CURRENT);

appreciate anyone who can help with this script

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > ThinkOrSwim > ThinkOrSwim Programming > need help modifying bollinger and keltnerchannel

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Corey Rosenbloom: Tips, Tactics, and Real Trades: Trading Intraday Trend Reversals

Elite only

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying existing fib tool PandaWarrior NinjaTrader 5 April 14th, 2015 09:24 AM
modifying bollinger bands r68cervera NinjaTrader Programming 11 January 28th, 2015 10:01 AM
help modifying the OHLC bar chart asf008005 NinjaTrader Programming 4 May 29th, 2012 01:03 PM
PriorDayOHLC and CurrentDay - help in modifying the display inmax NinjaTrader 1 July 22nd, 2011 09:43 AM
modifying NT fib extensions jmjstrider The Elite Circle 2 June 29th, 2011 12:59 PM

All times are GMT -4. The time now is 07:25 AM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-21 in 0.07 seconds with 19 queries on phoenix via your IP