100% found this document useful (1 vote)
528 views2 pages

S R Pine Code NK Sir

The document contains the source code for a TradingView script that plots multiple support and resistance lines on a price chart. It defines color settings and inputs for sensitivity and transparency, and then plots support and resistance lines by taking the highest and lowest values of the price multiplied by integers from 1 to 45, with each line labeled accordingly.

Uploaded by

roughim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
528 views2 pages

S R Pine Code NK Sir

The document contains the source code for a TradingView script that plots multiple support and resistance lines on a price chart. It defines color settings and inputs for sensitivity and transparency, and then plots support and resistance lines by taking the highest and lowest values of the price multiplied by integers from 1 to 45, with each line labeled accordingly.

Uploaded by

roughim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

// 12June pdf stock talk Telegram

//NK Stock Talk�


//@version=3

study("S R Levels", overlay=true)

a =input(title="Sensitivity", type=integer, defval=10, minval=1, maxval=9999)

d=input(title="Transparency", type=integer, defval=85, minval=1, maxval=100)

b =#FF0000

c = #0000FF

plot(highest(a*1), title='Resistance 1', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*1), title='Support 1', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*2), title='Resistance 2', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*2), title='Support 2', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*3), title='Resistance 3', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*3), title='Support 3', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*4), title='Resistance 4', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*4), title='Support 4', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*5), title='Resistance 5', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*5), title='Support 5', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*6), title='Resistance 6', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*6), title='Support 6', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*7), title='Resistance 7', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*7), title='Support 7', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*8), title='Resistance 8', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*8), title='Support 8', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*9), title='Resistance 9', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*9), title='Support 9', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)
plot(highest(a*10), title='Resistance 10', color=b, linewidth=2, style=line,
transp=d, offset=-9999, trackprice=true)
plot(lowest (a*10), title='Support 10', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*15), title='Resistance 15', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*15), title='Support 15', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*20), title='Resistance 20', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*20), title='Suppor 20', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*25), title='Resistance 25', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*25), title='Support 25', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*30), title='Resistance 30', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*30), title='Support 30', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*35), title='Resistance 35', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*35), title='Support 35', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*40), title='Resistance 40', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*40), title='Support 40', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

plot(highest(a*45), title='Resistance 45', color=b, linewidth=2, style=line,


transp=d, offset=-9999, trackprice=true)
plot(lowest (a*45), title='Support 45', color=c, linewidth=2, style=line, transp=d,
offset=-9999, trackprice=true)

You might also like