Questions (863)

Votes
Answers
Views
Question
0
votes
1
answer
30
views
asked 1 year ago by
Category: Chart Studies
Hi Pete, i will like to create a label for yield curve using information from FRED. TOS allows us to input data from FRED and see their charts. Hence i have created a yield curve label. It actually works. But the issue is when the chart is showing an...
0
votes
1
answer
29
views
asked 2 years ago by
Category: Chart Studies
Hi Pete, I have a script that paints a shaded region for 30-50% up from the Previous Close. I would like to limit this line to pre-market hours only. Is this something that can easily be done? Thank you! input percentThresholdTop = 50.0; input percen...
0
votes
1
answer
29
views
asked 1 month ago by
Category: Stock Scanners
I need to add a filter to one of my scans that will simply tell me if the MACD value for the prior week is greater than the MACD value for the prior prior week.  In other words, based on the close of the prior week, was the weekly MACD for that week ...
0
votes
1
answer
28
views
asked 3 years ago by
Category: Chart Studies
I watch some mutual funds and often TOS won't adjust price for dividends no matter i hit the button under settings/equities that tells it to do just that.  Take ARBIX.  On 12/11/20, it had div of .3172.  I can't get my chart to reflect that div.  ins...
0
votes
1
answer
28
views
asked 1 year ago by
Category: Chart Studies
Hello Pete, I have made a scanner in 4 hour aggregation based of heiken-aishi candles. To see if my scan works , I have defined an "alert" based of my study. The definition I used in heiken-aishi is as follows, " def haClose_4h = (open(period=aggrega...
0
votes
1
answer
28
views
asked 1 year ago by
Category: Watch Lists
Hi Pete! Hope you are healthy and having a decent year. I am perplexed that there are zero platforms that use any "odd" hourly scans. I am trying very hard to figure out a way to "see" a 7 Hr Timeframe and figured the easiest way was through a watchl...
0
votes
1
answer
27
views
asked 2 years ago by
Category: Chart Studies
https://www.hahn-tech.com/ans/price-for-a-specified-date/ discusses how to define a price for a previous date using the code def priceAtDate = if GetYYYYMMDD() == 20170103 then close else Double.NaN; That code gives a value only for the single day 20...
0
votes
1
answer
26
views
asked 4 years ago by
Category: Chart Studies
Is there a way to show a label or bubble with the amount of pips between both bands? #Code: input displace = 0; input length = 20; plot LowerBand = Lowest(low[-displace + 1], length); plot UpperBand = Highest(high[-displace + 1], length);
0
votes
1
answer
26
views
asked 1 year ago by
Category: Chart Studies
Hi Pete, I have a label of the total volume for the day, which displays it in unnecessarily long form, e.g., 315,774,788. This takes up too much space as a label. I would like to convert the number in the label to a short form (based on millions, wit...
0
votes
1
answer
25
views
asked 3 years ago by
Category: Chart Studies
Getting "Value never assgined to" on  my variables vSignalCandleClose and vSignalCandleStop. What am I doing wrong? #-----MyIndicator-- def vSignalCandleClose;def vSignalCandleStop; def vEMA = MovingAverage(AverageType.EXPONENTIAL, close, 20);de...