Chart Studies (873)

Votes
Answers
Views
Question
0
votes
2
answers
3484
views
asked 5 years ago by
Category: Chart Studies
Hi Pete, Is there a way to convert the TOS indicator - Accumulation/Distribution Buying Pressure into Tradingview? Here is the code; declare lower; def data = if close > close[1] then close - Min(close[1], low) else if close < close[1] then clo...
0
votes
1
answer
199
views
asked 5 years ago by
Category: Chart Studies
Hi, I'm looking for a Premarket only indicator that will plot a 50% line between the Previous Day Close and Premarket High or Low.  I'm thinking like AutoFibonacci indicator, but only plots the 50% line only during Premarket. Thanks very much for any...
1
vote
2
answers
1275
views
asked 5 years ago by
Category: Chart Studies
Hi guys, I am trying to find a study on ToS that plots yesterday's high and low but only during RTH. I have found a few studies that get pretty close but they are missing one thing or another, (some of them only chart the high and low levels on that ...
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...
0
votes
1
answer
1322
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
72
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
3054
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
98
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
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
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,...