1,419 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
0
answers
76
views
TradingView Widget is wider than other components in same column despite grid sizing
I'm building a Next.js app with a grid layout. I have multiple components in the same column, but my TradingView "Top Stories" widget is wider than the others, even though they share the ...
0
votes
0
answers
44
views
How to customize the time format shown below the price?
I'm using Lightweight Charts to draw a candlestick chart.
Right now, I display the "current candle price" in real time using the series update:
candleSeries.update({
time: timestamp,
...
-1
votes
1
answer
147
views
Why do the values in the labels keep changing as the candle moves?
I have some signals that are generated through logic within my indicator. They are plotted as "dots, triangles, or arrows" or other shapes. What I wanted was a way to "monitor" the indicator signals. ...
0
votes
1
answer
87
views
Why are my Daily MA50/100/200 lines jagged instead of smooth even with smoothing turned off?
I’ve written a Pine Script to display the Daily 50/100/200 Moving Averages on lower timeframes (like 1H or 15m).
I’m pulling the data using request.security() to lock it to the 1D timeframe so it ...
0
votes
0
answers
36
views
Color a section of a TradingView 5.0 LineSeries chart
I am using TradingView's Lightweight Charts 5.0 (https://github.com/tradingview/lightweight-charts)
How do I color a section of the chart, say from 0, 50 to 0,100 ?
const chart = LightweightCharts....
0
votes
0
answers
65
views
Tradingview Lightweight Charts - lock price to bar ratio issue
I am using lightweight charts 4 version. I want to implement "Lock price to bar ratio" option in my chart.
function handlePriceScaleLock() {
setPriceScaleLocked(v => {
const ...
0
votes
1
answer
141
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
1
answer
76
views
Pinescript exit order never filled with partial profits
I made a simple script that take a trade with an order bracket with Take profit and stop loss and when price go up to 50% of Take profit, i sell 70% of the contract and set the new stop loss at break ...
-1
votes
1
answer
139
views
How do I lock triangle in place even when dragging chart up and down in Pine script?
I know nothing about coding but I am creating an indicator in Pine Editor. I want a triangle to appear above or below a candle when certain criteria are met. I've got it to do this using chatgpt but ...
0
votes
0
answers
110
views
TradingView Lightweight Chart crosshair tooltip time
type here
I am creating a algo trading platform which uses tradingView lightweight chart. I have now run into a issue wherein all the time shown on x axis is correctly being displayed in IST and the ...
0
votes
1
answer
45
views
TradingView automatically draw segments between two segments
I would like to automatically draw quarter and midpoint lines between two lines already drawn manually.
How can I retrieve information about the two lines already drawn ?
Exemple
The blue lines are ...
0
votes
1
answer
76
views
Moving a stop loss in TradingView PineScript API
I've got the entry and initial stop loss called 'initialStopLossShort'. After price moves below a certain price level (here it's below BR1 which is defined earlier) I'd like to change the stop loss ...
0
votes
0
answers
79
views
How to Reset Entry Conditions After Exit in Pine Script Strategy Generated by Pineify?
I'm developing a trading strategy using Pine Script on TradingView, and I've utilized Pineify to generate the initial code. The strategy is based on Supertrend indicators and includes specific entry ...
0
votes
0
answers
61
views
Intra candle alert 5 minutes chart
so I have written a script for a trading view strategy and am very happy with the outcome. I have attached this to an EA to which buy, sell and close signals come through great!
I have a problem with ...
1
vote
1
answer
150
views
How to get dynamic variable value in alert messages with placeholder
{{alertcondition.message}} does not work:
My Alert Script (pineversion=5):
INalIDAMlong = input.string("long", title="long Alert", group="Alert Messages")
...