Questions (2372)

Votes
Answers
Views
Question
0
votes
1
answer
299
views
asked 4 years ago by
Category: Strategy Guide
Hello, I would like to autotrade supertrend in thinkorswim. input AtrMult = 1.0; input nATR = 4; input AvgType = AverageType.HULL; input PaintBars = yes; def ATR = MovingAverage(AvgType, TrueRange(high, close, low), nATR); def UP = HL2 + (AtrMult * A...
1
vote
1
answer
136
views
asked 4 years ago by
Category: Chart Studies
I'm trying to measure the behavior of the first three 5 min bars. If all 3 are higher highs and higher lows, then my bias is bullish for the day. The code is used as a Custom Quote:   input StartTime1 = 0930; input EndTime1 = 0935; def h1 = high...
0
votes
1
answer
43
views
asked 4 years ago by
Category: Chart Studies
Is it possible to set the studies on a chart to adjust to the time frame? For example, I have a daily chart with studies based on a daily aggregation. When I change the time frame to aggregate by minute, I'd like the studies to atutomatically aggrega...
0
votes
2
answers
50
views
asked 4 years ago by
Category: Watch Lists
Would appreciate if I could get some help with the custom column counting the days since last triggered Pocket Pivot. I have tried using the recursive count function but I am getting only zeros in the column count. Attached is the TOS thinkscript for...
0
votes
1
answer
122
views
asked 4 years ago by
Category: Stock Scanners
Hi Pete,  I've bee ntrying to create a scan for this condition but either I'm not getting results or getting results are way off in TOS. Much better luck in TradeStation. I know I'm doing something wrong using the condition wizard. This might ne...
0
votes
1
answer
138
views
asked 4 years ago by
Category: Chart Studies
Hi, I am trying to create a study that plots second order pivots (definition and visualization of the study is given in the attached image). Attached is the code that I have written (could not add into description due to length of post) which does no...
1
vote
1
answer
215
views
asked 4 years ago by
Category: Strategy Guide
Ive been playing with a strategy that uses MACD, RSI and VWAP to choose entry and exit points. All of the individual parameters work but I cant figure out how to format the SELL_AUTO statement to choose between 3 different possibilities. The characte...
0
votes
1
answer
148
views
asked 4 years ago by
Category: Stock Scanners
I made a multi time frame scan and everything that comes up with I scan is grey, no green or red bars. http://tos.mx/wokaVSa Here's a link to the scan. Example attached as pic.
0
votes
1
answer
252
views
asked 4 years ago by
Category: Chart Studies
Hi again Mr Hahn, I tried to combine some of your codes together to get a TOS study that would indicate both an "overbought" and "oversold" condition based primarily on your MACD RSI part 2 scan.  Sadly it still only indicates the "oversold" conditio...
0
votes
1
answer
170
views
asked 4 years ago by
Category: Stock Scanners
Hello, I'm new to thinkscript. Would like to know how to combine the following where the 1 bar ago being the new 6 months low?  Thank you in advance. WilliamsPercentR("length" = 10)."WR" is less than -80 within 2 bars AND WilliamsPercentR("length" = ...