54 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
50
views
Line is displayed on all timeframes greater than 1H, not but 1H and below
I am writing a basic indicator which displays the pivot(high+low+close/3) according to the timeframe.
the issue is arising for the 12M timeframe.
basically the 12M pivots are displayed for all chart ...
0
votes
1
answer
28
views
Why might request.security() return different results when viewed from different chart timeframes?
I have been debugging some strange results I was getting when I stumbled on a problem where request.security is not returning consistent results. Indeed, it is massively inconsistent. The following ...
0
votes
0
answers
42
views
Bars get squashed when linefill is enabled
I encountered a bug when filling the colour between two vertical lines.
As soon as I enable fill, candlesticks get squashed.
I made this short script to demonstrate the problem.
//@version=6
indicator(...
0
votes
1
answer
121
views
Other Time Frame values are strange
I am new in pine script and just tring to print the value of RSI of two different timeframes eg "D" (Daily) and "60" (Hourly) using the following code but whenever I change the ...
0
votes
1
answer
65
views
Weighted smoothing based on Pascal's triangle
This code causes an erroLir Line Cintinuation error. Some reason it does not recognize the colon at the end of the case statements
//@version=6
indicator("Smooth1 with Series Input", ...
0
votes
0
answers
81
views
Pine Script session indicator plotting different candles across timeframes and not resetting sessions properly
I am trying to write a Pine Script indicator that draws trading sessions as a single candle (based on user-defined start and end times).
The indicator should:
Plot session candles consistently across ...
0
votes
1
answer
68
views
Weird issue with request.security(syminfo.tickerid, "M", open[12]) statement
Bear with the length of this but it is confusing the heck out of me. When I run this statement in trading view on a Daily Chart:
open1 = request.security(syminfo.tickerid, "M", open[12])
and ...
0
votes
0
answers
83
views
Pine Script v6: How to make indicator legend background transparent to match pane background?
I've created a Pine Script indicator with a custom pane background colour using bgcolor(). The background displays correctly, but the indicator legend area (showing indicator name and values) has its ...
0
votes
1
answer
83
views
Labels duplicated at every level
I found a Manual Fib indicator on the Web. The indicator however duplicate the labels at every Fib level.
Can someone please help.
I tried label,delete but are to inexperienced to make it work.
My ...
0
votes
1
answer
143
views
tradingview! Persistent Pine Script v6 error: Syntax error at input 'end of line without line continuation'
It affects any struct. I've cleaned chars, renamed, tried new scripts – still fails.
Any solutions? So frustrating.
//@version=6
indicator("TestStruct", overlay=true)
struct MyData
float ...
0
votes
0
answers
211
views
Struggling with code that is tracking Highs and Lows
I wanted to make an indicator for my trading Group that detects and alerts a thing called " 2 Candle Rejection". its a concept used by a couple of traders to determine if a Fair Value gap ...
0
votes
1
answer
314
views
Pinescript input line style
I am new to pinescript and wrote this simple script to show me daily, weekly and monthly candle open lines by piecing together information I could find. This works well but I would like to add input ...
0
votes
1
answer
380
views
Pine Script v6: Syntax error at function definition 'input "("' - How to declare functions correctly?
I am trying to combine two Pine Script indicators (LuxAlgo Reversal Signals and VuManChu B Divergences) into a single script. I have recently migrated the script to Pine Script v6.
I am consistently ...
0
votes
1
answer
93
views
Supertrend delivers opposite result
I want to check in the current Timeframe (as example 5 min ), the supertrend in the 60min timeframe. But the supertrend delivers allways opposite results.
If it is true the backcolor should be blue.
I ...
0
votes
1
answer
55
views
Why does this indicator only plot a limited number of days?
This indicator, when used on the M15 timeframe, only plots the boxes back to 4th April. Why is this? If I removed the second box, it plots as far back as Feb 26th.
I know TV indicators can only plot a ...