Questions (902)

Votes
Answers
Views
Question
0
votes
1
answer
88
views
Category: Stock Scanners
Hi Pete, My question is two-part. How would you write a scan showing a Bollinger Band mid-line cross AFTER at least the 5-previous bars being below? I would like the scan to work on the smaller intraday time frames too. The second part of the questio...
0
votes
1
answer
88
views
Category: Chart Studies
Hi Hahn! Hope you are doing well. I was wondering if you could help me create a chart label for this criteria on thinkorswim. Green label with text "Buy" if: 8 EMA is above 50 Reverse Engineer RSI. Red label with text "Sell" if: 8 EMA is below 50 Rev...
1
vote
2
answers
88
views
Category: Chart Studies
My code plots a line that moves up when the next pivot is higher, but moves down when the next pivot is lower. The plot should remain at the higher value when the next pivot is lower. I tried a Max statement (commented out), but that does not plot an...
0
votes
1
answer
87
views
Category: Chart Studies
Hi Peter, I wanted to know if you know if it's possible to access a variable from another custom study. I need to access a variable that is on the daily time frame, but use it in a calculation on the minute chart. I've tried the method of changing th...
0
votes
1
answer
87
views
Category: Watch Lists
Hi Pete! This question is a refinement of a previous question:   https://www.hahn-tech.com/ans/display-atrtrailing-stop-values-in-a-watchlist/ I trade bonds (UB ZB ZN ZF). When I put ATRTrailingstop in a watchlist for these products, TOS is displayin...
1
vote
1
answer
86
views
Category: Chart Studies
Hi Pete, the within reserved word only functions with an integer or length. Do you think it would be possible to write an expression that would achieve the same results as the within function while using a variable in place of an integer or length? T...
0
votes
1
answer
86
views
Category: Chart Studies
Hey all - I was wondering if anyone could help me with a bit of coding for the following: - Price level across whole WEEKLY chart 2% from current weekly open price. If it wasn't too much effort I'd like to have two more variables within the same code...
0
votes
1
answer
86
views
Category: Watch Lists
Hi Pete, I am looking to get the most recent high and low (values) as watchlist columns. I went through couple of your videos on this topic, but what I am looking for is only for the Most recent high and low. The built in DailyHighLow column is not g...
0
votes
1
answer
86
views
Category: Stock Scanners
I have a request with the OBV and AccDist. Can I have a scan that alert me when OBV or AccDist lines cross above 0%  mark on a daily chart at least one time for the last trading 20 days?
0
votes
1
answer
86
views
Category: Chart Studies
When I attempt to remove a drawing on a chart TOS asks do you really want to remove all drawings. I just want to remove the current fibs on just this chart and establish new ones. I know it should be obvious but not seeing it. TIA