TradingView
jadeja_rajdeep
2023년 8월 5일 오전 8시 49분

Pivot Point Trend Line 

IDFC FIRST BANKNSE

설명

This Indicator simply draw lines between high pivot points and low points.

in the code by default its used tradingview default ta.pivothigh and ta.pivotlow function to get the high and low points.

it will generate recent 4 lines of high and low pivot points.

you can change the no of days for both highs and lows pivot points.

this script is not generating any buy or sell signals its just autodraw and connect 2 pivot points. so you dont have to do it manually.
코멘트
iVivo
Thank You for the Indicator :)
iVivo
@iVivo,
Hello There,

I thought I would report this error to help with future updates if possible. I saw this error in the 1min TimeFrame.

"Pine cannot determine the referencing length of a series. Try using max_bars_back in the study or strategy function"

Thank You again,
jadeja_rajdeep
@iVivo, kindly share more details please what is your setting and on which stock.
iVivo
@jadeja_rajdeep, Thank You for the reply. But for some reason I couldn't recreate the error. Sorry about that.

For future updates, could I please suggest multi-Timeframe settings and a way to change the thickness of lines?

Thank You again,
jadeja_rajdeep
@iVivo, can you please explain what do you mean exactly by muti-timeframe function for this.
iVivo
@jadeja_rajdeep, Thanks for the reply. What I mean by Muti-timeframe is that within the indicator setting I have seen in other app, where you can change the indicator Timeframe from 2mins to 5 mins. So instead of change the Timeframe of the whole chart, you can just change the timeframe of the indicator.

I have provided a link below to help illustrate this option:
tradingview.com/support/solutions/43000502591-multi-time-period-charts/

Thanks Again,
jadeja_rajdeep
@iVivo, if i get time this weekend will add daily, weekly, monthly, hourly, minute setting each to display all trend lines at once. i think that's the right way to do it.
iVivo
@jadeja_rajdeep, That would be amazing. Thank you again.
Orph5781
wonderful script, @jadeja_rajdeep . I appreciate if you could develop a variation of this code, so that lines are generated not exclusively joining highs OR lows but joining highs AND + OR lows so that the same line behaves more reliable sometimes as support and sometimes as resistance.
더보기