Chart Studies (873)

Votes
Answers
Views
Question
0
votes
1
answer
127
views
asked 5 years ago by
Category: Chart Studies
Hello, I have been trying to merge/combine these 3 indicators in to one indicator. I can successfully plot the STO and RMI, but when adding the DPO it does not plot correctly, it plots in the lower half of the indicator which is not accurate, I belie...
0
votes
0
answers
159
views
Be first to answer!
asked 5 years ago by
Category: Chart Studies
Pete, Can you transfer this code in to thinkscripts? study(title="The Pivot Detector Oscillator, by Giorgos E. Siligardos") Length_MA = input(200, minval=1) Length_RSI = input(14, minval=1) UpBand = input(100, minval=1) DnBand = input(0) MidlleBand =...
0
votes
1
answer
148
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, How do you add codes for line 50 to WilliamsPercentR (see attached screenshot)? Thanks. # # TD Ameritrade IP Company, Inc. (c) 2007-2019 # declare lower; input length = 10; input overBought = -20; input overSold = -80; def hh = Highest(high,...
0
votes
1
answer
252
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, Ive had a good look through previous postings and although some people have mentioned it, i havnt been able to find a script to work with, hope you can help! Im looking for a study that compares one days intraday volume on say a 5 min chart,...
0
votes
1
answer
79
views
asked 5 years ago by
Category: Chart Studies
I need help with some code logic. suppose x is the high and y is the low of an indicator. how do I make a variable true if "close crosses above x" and false when "close crosses below y"? The problem if I use "close crosses above x" is that it will on...
0
votes
1
answer
99
views
asked 5 years ago by
Category: Chart Studies
Hi, When I plot the value closedLow I count about 16 entries manually. I want a script to count this My code is below and it seems to only count from YTD ie. all the bars from beginning of the year why is that? def closedLow = (high >= close[1] * ...
0
votes
1
answer
3060
views
asked 5 years ago by
Category: Chart Studies
I’m working on adding multiple labels (with or w/o plots) but I want the label itself to say Stacked and turn green if the moving averages are stacked or red if they are not stacked. I’m using 10EMA, 21EMA, 50SMA, 200 SMA. By stacked, I mean the pric...
0
votes
1
answer
73
views
asked 5 years ago by
Category: Chart Studies
I would like to add lines on the PercentChg study on ToS.  I use it to determine change in price on a percentage basis.  I use daily and weekly changes.  I use it on only a few indexes and individual stocks.  What I want to do is add lines to the thi...
0
votes
1
answer
1323
views
asked 5 years ago by
Category: Chart Studies
Hi, I understand that IDataHolder / array is perhaps the most common data type used in thinkScript. Also I am reading that recursion is a commonly used technique. I know there is support for building functions and loops (fold). With all these, I thou...
0
votes
1
answer
161
views
asked 5 years ago by
Category: Chart Studies
Not sure how deep in the code this goes and if its possible, but I just had a thought about if I have large grid of FX pairs like so https://i.imgur.com/AP8c8eQ.png  if it would be possible to have the background color  of the chart change based on a...