Questions (2374)

Votes
Answers
Views
Question
0
votes
2
answers
306
views
asked 7 years ago by
Category: Watch Lists
Hi Pete, First, I want to say thank you. My trading has improved immeasurably since I started adding custom codes to TOS and stumbled upon your site. I am completely new to TOS and coding but your site has advanced me greatly. I am looking for a colu...
0
votes
1
answer
449
views
asked 7 years ago by
Category: Chart Studies
Hello, I've been writing code in TS EasyLanguage for nearly 25 years, but I'm relatively new to writing thinkScript.  This is probably something pretty easy, but I can't figure it out due to my limited fluency in thinkScript. As far as I can tell, th...
0
votes
1
answer
1390
views
asked 7 years ago by
Category: Stock Scanners
I currently have a default scan that shows me earnings from the Nasdaq within the next 10 bars (http://tos.mx/VMj5Em) I want to know if it is possible to add to this scan to only show those that had a 6% (or whatever % you choose) move up or down the...
0
votes
1
answer
553
views
asked 7 years ago by
Category: Watch Lists
Hi Pete, Thank you for all the helpful studies, alerts, and watchlists. I did some searching and found the following: https://www.hahn-tech.com/ans/distance-from-high-of-day-watchlist/ I was wondering if you could help provide the thinkscript code fo...
0
votes
1
answer
1363
views
asked 7 years ago by
Category: Chart Studies
Hello Hahn, Is it possible to create a script that changes the colors of candlesticks based on volume and RSI? For example, when the current candle has more than 1.5 relative volume and an RSI>65 , it will be colored yellow on the chart.
0
votes
1
answer
149
views
asked 7 years ago by
Category: Chart Studies
Hi all. Thinkorswim scan, I'm able to find the highest high of last 10 days. I need help on how to get the close and low of this highest high. thanks.
0
votes
1
answer
1714
views
asked 7 years ago by
Category: Chart Studies
Hi Pete. Sorry for my last post, hopefully this clears everything up.  It would be great if this code can be transferred over to ThinkOrSwim platform.  As you can see from the image on the website below, as an overlay you can assign renko brick size ...
0
votes
1
answer
472
views
asked 7 years ago by
This is my code.   I find a PriceOsc Oscillator Peak Value   ####Definition of PrcOscPeak or Valley   or High############################ def PO=PriceOsc().PriceOsc;   def OscPeak = if PO >= PO[1] and PO >= PO[2] && PO>= PO...
0
votes
1
answer
2628
views
asked 7 years ago by
Category: Stock Scanners
I noticed there have been a few questions and answers about how to scan for opening range breakouts by a certain time of the day in Think or Swim.  Individuals have asked for 5 minute scans, over night gaps and pre market high/lows.  There was even a...
0
votes
1
answer
179
views
asked 7 years ago by
Category: Stock Scanners
  Hi Pete: I am trying to write code to find all stocks which released earnings [hasEarnings()] over the past n days.  I could not do this because hasEarnings()[n] is not allowed unless n is a constant. I actually found that [n] variable does no...