Questions (2367)

Votes
Answers
Views
Question
0
votes
2
answers
178
views
asked 7 years ago by
Category: Stock Scanners
Hello, I would like to get help on the code that can scan for MA 20 crossing above MA 50 in a 30 mins or one hour time frame please? It should scan for any cross for the last N bars (let's say the last 14 bars that correspond to the whole day in case...
0
votes
1
answer
527
views
asked 7 years ago by
Category: Chart Studies
Here is the code in its simplest form:  This will work fine if  the 1 minute timeframe is not specified.    You will see up arrow in many places.  So how do you compose a boolean variable  based on elements from a different timeframe in such a manner...
0
votes
1
answer
362
views
asked 7 years ago by
Category: Chart Studies
So I am trying to recreate your KBB squeeze for TOS and believe I have it, but I am getting slightly different reading than the proprietary alert that is already built into TOS, TTM_Squeeze(price, length, nK, nBB, alertLine).SqueezeAlert To be more s...
1
vote
1
answer
4714
views
asked 7 years ago by
Category: Stock Scanners
I'm trying to put together a scan that will only be run extended hours (pre-market). It will simply compare the current after hours price with the previous trading day close. Here's what I have:   def percent_change = 8.00; def yest_closing_pric...
0
votes
1
answer
759
views
asked 7 years ago by
Category: Chart Studies
Hello Hahn, thank you for your videos. I am using them to teach my teenager the art of stock trading. In ThinkorSwim I am trying to create a scan using RSI + MACD HIstogram but then add a Study Filter for stocks that have a BUY Analyst Rating such as...
0
votes
1
answer
1311
views
asked 7 years ago by
Category: Watch Lists
Pete Is it possible the create code in Tos that displays in a watch list the number of days until earnings announcement?
0
votes
3
answers
7042
views
asked 7 years ago by
Category: Chart Studies
My example is def VAOPerigee= if (AWESOMEOSCILLATOR().AO[0] > AWESOMEOSCILLATOR().AO[1])  && (AWESOMEOSCILLATOR().AO[1]<=AWESOMEOSCILLATOR().AO[2]) && (AWESOMEOSCILLATOR().AO[3] >AWESOMEOSCILLATOR().AO[2]) && AWESOMEO...
0
votes
1
answer
130
views
asked 7 years ago by
Category: Stock Scanners
Hello, how can I make a scan for stocks that have a 10% higher ask is than what the current close price is? I was thinking something along these lines... def MinimumAsk = close * 1.1; plot scan = ask >= MinimumAsk ^^ This didn't work.
0
votes
1
answer
545
views
asked 7 years ago by
Category: Watch Lists
Hi, I am not familiar with writing scripts or code. I use the TTM Squeeze with an alert line of 1.5 and was wondering what do I need to change in the script for the Watchlist for the squeeze dots? I attempted by changing the value of the alert line b...
0
votes
1
answer
93
views
asked 7 years ago by
Category: Chart Studies
Hi all I have a question about going backwards through chart data. The below line plots a line across the progressively higher highs over the chart data. rec highs = if isnan(high[1]) then double.nan else if high > highs[1] then high else highs[1]...