Chart Studies (873)

Votes
Answers
Views
Question
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
28
views
asked 4 years ago by
Category: Chart Studies
Quick question for you... I have annual pivots plotting on a chart, but if I go to a lower timeframe and time set, 30M 20 Days, the data is incorrect. Is it a limitation of TOS to calculate annual data that is not provided on the displayed chart's ch...
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
0
answers
27
views
Be first to answer!
asked 5 years ago by
Category: Chart Studies
can you give me a direction to do that ? for example,  if AAPL then plot EMA21, if AMZN then plot EMA34 otherwise no ploting EMA .  
0
votes
1
answer
27
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...
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
27
views
asked 1 month ago by
Category: Chart Studies
I watch premarket action.  But the volume is low and often non related to after open activity, plus it skews many indicators to vary from their "non extended hours" levels. Is there an easy way to turn on /off extended hours display across all charts...
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
26
views
asked 3 weeks ago by
Category: Chart Studies
Hi Pete, How do I show the PVR Rank 1 as bright green, 2 as a lighter green, 3 a lighter red and 4 as bright red on the chart? Thanks!
1 85 86 87