convert pine code ( tradingview ) to javascript

Convert this code in javascript:


h = input(8.,'Bandwidth')

src = input(close,'Source')


n = bar_index

var ln = array.new_line(0)

if [login to view URL]

for i = 0 to 499

[login to view URL](ln,[login to view URL](na,na,na,na))


float y2 = na

float y1 = na

float y1_d = na


line l = na

label lb = na

if [login to view URL]

for i = 0 to min(499,n-1)

sum = 0.

sumw = 0.

for j = 0 to min(499,n-1)

w = exp(-(pow(i-j,2)/(h*h*2)))

sum += src[j]*w

sumw += w

y2 := sum/sumw

d = y2 - y1

l := [login to view URL](ln,i)



line.set_color(l,y2 > y1 ? #ff1100 : #39ff14)


if d > 0 and y1_d < 0

[login to view URL](n-i+1,src[i],'▲',color=#00000000,style=label.style_label_up,textcolor=#39ff14,textalign=text.align_center)

if d < 0 and y1_d > 0

[login to view URL](n-i+1,src[i],'▼',color=#00000000,style=label.style_label_down,textcolor=#ff1100,textalign=text.align_center)

y1 := y2

y1_d := d

Taidot: JavaScript, Pine Script

Näytä lisää: javascript convert utf big5, convert vb6 code crystal reports net, convert sql code javascript code, convert ruby code javascript, convert python code javascript, convert as3 code javascript, convert hard code javascript, convert vba code javascript, convert imacros code to javascript, javascript convert html to pdf source code, convert python code to javascript online, convert c++ code to javascript online, convert c# code to javascript, code to convert xml to json javascript, convert vba code to pine script, convert python code to javascript

Tietoa työnantajasta:
( 0 arvostelua ) Romania

Projektin tunnus: #32308637

5 freelanceria on tarjonnut keskimäärin $55 tähän työhön


I am a Trading Expert, Forex & Cryptocurrency developer and other Software Developer with more than 5 years of experience in all crypto & forex coding. I am well skilled and experienced with Smart Contract, Solidity, A Lisää

$150 USD 2 päivässä
(4 arvostelua)

Hi, It is easy, I can do on time. I work online, where you can track progress of your project. I have 6 years of experience in development(websites, web applications, mobile apps, desktop applications, I/UX), using PHP Lisää

$10 USD 2 päivässä
(2 arvostelua)

Hi, there. I am very familiar with Pine script and javascript. I can start working immediately and finish within a few hours. Looking forward to hearing from you. Thanks.

$20 USD 1 päivässä
(1 arvostelu)

Hi! Thank your posting "convert pine code ( tradingview ) to javascript". i understand your requirement . I have 7+ years of work experience in Pine SCRIPT, Python, AWS, Docker, Core php and Mysql, codeignitor, custo Lisää

$80 USD 2 päivässä
(7 arvostelua)

Hi there, My uniqueness in creativity and transparency in my work brings positive sights about me to my clients. I read your requirements and i will do this smoothly and gives you the best quality work. All of my clien Lisää

$15 USD 1 päivässä
(2 arvostelua)