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

Kemahiran: JavaScript, Pine Script

Lihat lagi: 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

Tentang Majikan:
( 0 ulasan ) Romania

ID Projek: #32308637

5 pekerja bebas membida secara purata $55 untuk pekerjaan ini


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 Lagi

$150 USD dalam 2 hari
(4 Ulasan)

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 Lagi

$10 USD dalam 2 hari
(2 Ulasan)

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 dalam sehari
(1 Ulasan)

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 Lagi

$80 USD dalam 2 hari
(7 Ulasan)

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 Lagi

$15 USD dalam sehari
(2 Ulasan)