Setting up the Squeeze in a Watchlist (Update)
home | Think or Swim Tutorials | Setting up the Squeeze in a Watchlis . . .

Setting up the Squeeze in a Watchlist (Update)

Please use the full screen option in the bottom right hand corner of the video for the best viewing experience.

input BollingerDeviations = 2.0; input BollingerLength = 20.0; input KeltnerFactor = 1.5; input KeltnerLength = 20; input price = close; def bk = reference BollingerBandsSMA("num_dev_up" = BollingerDeviations, "length" = BollingerLength )."upperband" - reference KeltnerChannels("factor" = KeltnerFactor, "length" = KeltnerLength)."Upper_Band"; def grnconsecdots = if bk[0]>0 and bk[1]>0 and bk[2]>0 and bk[3]>0 and bk[4]>0 and bk[5]>0 and bk[6]>0 then 7 else if bk[0]>0 and bk[1]>0 and bk[2]>0 and bk[3]>0 and bk[4]>0 and bk[5]>0 then 6 else if bk[0]>0 and bk[1]>0 and bk[2]>0 and bk[3]>0 and bk[4]>0 then 5 else if bk[0]>0 and bk[1]>0 and bk[2]>0 and bk[3]>0 then 4 else if bk[0]>0 and bk[1]>0 and bk[2]>0 then 3 else if bk[0]>0 and bk[1]>0 then 2 else if bk[0]>0 then 1 else 0; def redconsecdots = if bk[0]<0 and bk[1]<0 and bk[2]<0 then 3 else if bk[0]<0 and bk[1]<0 then 2 else if bk[0]<0 then 1 else 0; plot signal = if grnconsecdots > 0 then grnconsecdots else redconsecdots + 10; signal.assignValueColor (color.BLACK); assignBackgroundColor( if bk[0] < 0 then color.red else if grnconsecdots< 7 then color.green else color.black);

Customer Articles
3 Articles
5 star:
(3)
4 star:
(0)
3 star:
(0)
2 star:
(0)
1 star:
(0)
Average Customer Article


Most Helpful Customer Articles
5 of 5 people found the following article helpful:
Love it, November 19, 2013
By sofiam1225 - See all my articles    
it will be great to add how to save all this modifications on save list
2 of 2 people found the following article helpful:
Unbelievably clear instructions, September 10, 2013
By userone - See all my articles    
Henry Thanks for another clear instructions. Could you also give an example of a perfect setup or how to scan for a setup where Daily, hourly and 30 minute are in sync? Thanks
24 of 24 people found the following article helpful:
Antoher great added benefit!, June 21, 2012
By rooster - See all my articles    
Thank you guys for all the hard work and time you put into this! I will use this tomorrow! cya!