Votes
Answers
Views
Question
0
1
273
I am trying to create a conditional order based off this https://usethinkscript.com/threads/bollinger-bands-and-stochastic-scalping-indicator-for-thinkorswim.6/ ----- input tradeSize = 100; def signal = close is less than or equal to BollingerBands()...
1
1
79
asked 4 years ago by Jacky Hsieh
Category:
Chart Studies
Hi all, I have a code that checks every bar and display up/down arrow when price crosses EMA. I only want it to show the last two instances instead of every candle on the chart because it is too messy to look at during market hours. What can I add to...
0
1
68
asked 4 years ago by Cc W
Category:
Chart Studies
Hi, is there anyway to fix the plotted line so it's either not showing the day from 2 days ago or removing the angled portion of it? I think the screenshot should help =====code============= input aggregationPeriod = AggregationPeriod.DAY; input leng...
1
1
184
asked 4 years ago by Erik Linter
Category:
Alerts and Notifications
I'm trying to set an alert that's equivalent to a trailing-stop order. I found this study elsewhere but I'm not sure it's doing what I want, so I thought I'd ask you for your opinion. input Period = 12; input Price = close; def HP = Highest(Price,Pe...
0
1
464
asked 4 years ago by Ahmad AL-mosa
Category:
Chart Studies
I want help in adding code to TPO studie to view Total TPO count in profile thinkorswim Total TPO count equal to sum of all horizontalrow value (sum of all tpo) https://ibb.co/J7N89BV like this one https://ibb.co/r6rh25D
0
1
300
asked 4 years ago by Corey
Category:
Watch Lists
Hi Pete, In a previous post you created a script that colors the watchlist column to match the current color of the TTM Trend. Are you able to also add the consecutive bar count which will show how many consecutive bars have been painted as red or b...
0
1
1045
asked 4 years ago by Parrot Empreendedor
Category:
Chart Studies
Hi Pete, Is it possible to add cloud (ie shaded area) between two moving averages per code below? I tried combining them into a single code to have a go at it to no avail. Thank you! Guga ############## input price=close; input offset=0; input length...
0
1
375
asked 4 years ago by Minh Luc
Category:
Stock Scanners
hi Pete, I am looking for a scanner with the strategy below. It will be daily scan. Can you help? 1. Stochatic oversold when %K < = 20 for current candle and 2. TTM_Squeeze > = 3 days and 3. Current candle > 20 EMA Thanks Minh
0
1
394
asked 4 years ago by Gary W
Category:
Chart Studies
input startDateYyyyMmDd = 20200805; def beyondStartDate = if GetYYYYMMDD() >= startDateYyyyMmDd then 1 else 0; plot VWAP = TotalSum(if beyondStartDate then (((high + low + close) / 3) * volume) else 0) / TotalSum(if beyondStartDate then volume els...
0
1
125
asked 4 years ago by mulcher93
Category:
Chart Studies
Is it possible to display the VWAP along the price axis without having it displayed on the chart? I find the lines to be distracting from other indicators. I am not interested in plotting the outside top and bottom lines.