PREMIUM: FREE thinkscript_Breadth Bubbles

ShadowTrader BREADTH BUBBLES thinkScript

ShadowTrader Breadth Bubble thinkScript

  • Puts current Breadth Ratio for NYSE and Nasdaq into colored boxes in upper left of your Breadth chart
  • The “king” of the internals, let’s you know instantly how strong current buying or selling pressure is in the broad market to eliminate guessing or opinion
  • Dynamically changes colors between green and red depending on whether breadth ratio is currently positive or negative
  • The exact same script Brad uses in his quad on ShadowTrader SquawkBox
  • See video below for how to insert and customize on your thinkorswim platform

breadth_bubbles_1

 

 

Your thinkscript is in the blue box below.  Watch the video at right for how to install and customize the Breadth Bubbles thinkScript on your thinkorswim platform ———————————————————->

 

 

If you have any issues copying the code from the box below, ShadowTrader recommends trying it from a different browser.

If you cannot resolve your issue, please contact support@shadowtrader.net


Statement of Rights and Responsibilities and Non-distribution
This Statement of Rights and Responsibilities (“Statement,” “Terms,” or “SRR”) derives from ShadowTrader’s terms of service that governs our relationship with users and others who interact with ShadowTrader brands, products and services, which we call the ShadowTrader Services or “Services”. By using or accessing the ShadowTrader Services, you agree to this Statement, as updated from time to time in accordance with the ShadowTrader Terms and Conditions and Statement of Rights and Responsibilities. License of the ShadowTrader code: This work is copyrighted by ShadowTrader and all rights of this work under the license are reserved. Use of the ShadowTrader licensed code is for private use only and any other use are prohibited. By exercising any of the rights herein, you are accepting the terms of this license. You have a non-exclusive right to use or alter the ShadowTrader code. Use of this Work other than as provided for in this license is prohibited. Any redistribution is strictly prohibited and will be enforced.

#Breadth Ratio Script
#Thank you to Justin Williams for coding this for ShadowTrader

#ShadowTrader (Copyright ShadowTrader), a division of ShadowTrader Technologies, LLC. 2017. All rights reserved. This ShadowTrader Script is for educational purposes only.  ShadowTrader is not responsible for the use,  functionality or the performance of this Script. This work is copyrighted by ShadowTrader and all rights of this work under the license are reserved. Use of the ShadowTrader licensed code is for private use only and any other use are prohibited. By exercising any of the rights herein, you are accepting the terms of this license. You have a non-exclusive right to use or alter the ShadowTrader code. Use of this ShadowTrader Script other than as provided for in this license is prohibited. Any redistribution is strictly prohibited and will be enforced.

input ShowZeroLine = yes;
input market = {default NYSE, NASDAQ};

def UVOL = close(“$UVOL”);
def DVOL = close(“$DVOL”);
def UVOLQ = close(“$UVOL/Q”);
def DVOLQ = close(“$DVOL/Q”);

#NYSE Breadth ratio
def NYSEratio =  if (UVOL >= DVOL) then (UVOL / DVOL) else -(DVOL / UVOL);
AddLabel(yes, Concat(Round(NYSEratio, 2), ” :1 NYSE”), (if NYSEratio >= 0 then Color.GREEN else Color.RED));

#Nasdaq Breadth ratio
def NASDratio =  if (UVOLQ >= DVOLQ) then (UVOLQ / DVOLQ) else -(DVOLQ / UVOLQ) ;
AddLabel(yes, Concat(Round(NASDratio, 2), ” :1 NASD”), (if NASDratio >= 0 then Color.GREEN else Color.RED));

#ZeroLine
plot zeroline = if ShowZeroLine then 0 else Double.NaN;
zeroline.AssignValueColor(if NYSEratio > 0 then Color.GREEN else Color.RED);
zeroline.SetLineWeight(1);
zeroline.HideTitle();
zeroline.HideBubble();

#Histogram Function
plot Breadth = if market then NASDratio else NYSEratio;
Breadth.AssignValueColor(if Breadth >= 0 then Color.GREEN else Color.RED);
Breadth.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Breadth.SetLineWeight(1);