Shaved Bars Buy/Sell Pressure Indicator for ThinkorSwim

BenTen

BenTen

Administrative
Staff
VIP
Shaved Bars is one of the price pattern indicators converted from TradingView to ThinkorSwim. It shows buying and selling pressure based on the candlestick. It checks to see if the candle closed above or at 5% of the high for the previous candle.



Notes:
  • Pink = Down Shaved Bars - Selling Pressure
  • Cyan = Up Shaved Bars - Buying Pressure

thinkScript Code

Rich (BB code):
# WalkingBallista
# Converted from https://www.tradingview.com/script/GHnJs0X8-CM-Price-Action-Bars-Price-Patterns-That-Work/

def range = high - low;
input pctS = 5;
def pctCs = pctS * .01;

def sBarUp = close >= (high - (range * pctCs));
def sBarDown = close <= (low + (range * pctCs));

assignpriceColor(if sBarUp then Color.Cyan else if sBarDown then Color.Magenta else Color.Current);

Shareable Link

http://tos.mx/Grei9P

Credits:
 
Last edited:
S

San

New member
VIP
@BenTen, I see same kind indicator "Better Volume Custom Colors _TS ** " but this shows in volume format. This indicate can find in under volume in shared nots

 
Last edited:

Top