Questions (2367)

Votes
Answers
Views
Question
0
votes
1
answer
8
views
asked 2 days ago by
Category: Chart Studies
I'd like to test out an EMA Separation Coefficient Study, but ThinkorSwim doesn't seem to provide one.  Apparently, it's available in TradingView.  Here's a link: https://www.tradingview.com/script/EZlRef3m/.  There is some script for the study on th...
0
votes
1
answer
9
views
asked 2 weeks ago by
Category: TS Solutions
I have this indicator that is working fine. The only problem I can't figure out is to stop it from drawing a diagonal line from the close of one day to the open of the next. The code is in the attached text document.
0
votes
1
answer
38
views
asked 3 weeks ago by
Category: Watch Lists
Hi Pete.  I am trying to create a column that simply shows if a stock is above or below the VWAP. If above the VWAP the background color will appear green with a green "1" as the label. If below the VWAP the background color will appear red with a re...
0
votes
1
answer
12
views
asked 3 weeks ago by
Category: Watch Lists
Hello Pete. I was able to create a watchlist column which shows whenever an inside bar occurs using the condition wizard. However, I am having trouble creating a watchlist column that simply shows the color of the current Heiken-Ashi and if the bar i...
0
votes
1
answer
20
views
asked 3 weeks ago by
Category: Watch Lists
Hi Pete. Is there a way to add one more label on the watch list column which states "Strong Reversal" if a red HA candle is followed immediately by a green HA candle with no wick or a green HA candle is immediately followed by a red candle with no wi...
0
votes
1
answer
26
views
asked 1 month ago by
Category: Stock Scanners
Mobius from ThinkorSwim wrote a custom script for FW_DPO_MOBO and I am trying to convert the AddCloud function into a Def variable. I want to run a scan when the DPO is in the green cloud. I can not convert the AddCloud function into a variable becau...
1
vote
1
answer
34
views
asked 1 month ago by
Category: Chart Studies
Hi, I like to reassign a variable value in order to convert following pine script to TOS script. I looks like TOS requires if/else condition to reassign the value. However, I don't know how to do it in this case. The code: a = 0.0 b = 0.0 a := max(cl...
0
votes
1
answer
29
views
asked 1 month ago by
Category: Watch Lists
Hi Pete, Please help me with my script attached. The column currently shows if the SMA and MACD are moving in the same direction. If both are increasing the column turns green and states "Long". If both are decreasing the column turns red and states ...
0
votes
1
answer
31
views
asked 1 month ago by
Category: Chart Studies
Tags:
I'm looking for a label to display the percentage difference from yesterday's close to the high of the first bar of the day on all time frames. Any assistance would be greatly appreciated.
0
votes
1
answer
27
views
asked 1 month ago by
Category: Stock Scanners
Question:  # How do I find "x" where "x" is the last value in the array "consecutivehigherhighs". The idea is to insert it under "totalconsecutivehigherhighs" as it is summation over "x" period where "x" is the last value of the array "consecutivehig...