Hello,
I'd need help to convert 8 lines of Pinescript ([login to view URL]) into Javascript. I face a bit of a chicken/egg problem here to get the very first price value implemented. The script describes the "Fisher Transform" indicator.
Pine Script:
maxSrc = highest(price, 5)
minSrc = lowest(price, 5)
sto = maxSrc - minSrc != 0 ? (price - minSrc) / (maxSrc - minSrc) : 0
v1 = 0.0
v1 := max(min((0.67 * (sto - 0.5)) + (0.67 * nz(v1[1])), 0.999), -0.999)
fish = 0.0
fish := 0.5 * log((1 + v1) / (1 - v1)) + (0.5 * nz(fish[1]))
return fish, fish[1]
Javascript inputs:
price_array = [5300, 5430, 5200, 4900, 5600, 5000, 4400, 6000, 5600, 6020]
Javascript desired outputs:
fish, fish[1]
I am a Forex Trading Expert, Programmer and Software Developer with 5 years of experience in all forex coding and other programming. I am well skilled and experienced with Trading BOT, Metatrader (MT4/5) with various EA & indicators, pinescript, CTrader, Sierra Chart, Ninjatrader (NT7/8), and Amibroker. I have done a lot of work on all the listed trading platforms and will be honored to help you with your requirements. Kindly share more details of your project with me over chat. Thanks
Hello, As a Software Developer, I am well skilled in Metatrader, Pine script, Sierra chart, Calgo trader, Thinkorswim Algorithm and Ninjatrader (NT8 and NT7). Having done several tasks on these platforms, I will be delighted to help you with your project. Initiate a chat so that we can discuss it further. Thank you.
Hello
Saw your description, I can do it within a short time, because I have deep knowledge in JavaScript.
Hope to discuss in more detail via chat.
Thank you for reading my application. And, hope you and your family are safe from COVID-19.
A'm a metatrader expert and a software genius with an indepth knowledge and experience on coding and trading programming languages -Expert Advisors for MT4/MT5, NT7/NT8, indicators pinescript, amibroker. I will be honored to help you with your project. Kindly Chat me up to discuss better
Hi
I've read your project description seriously.
And I have 6+ years of experience in Javascript.
So I can provide you perfect results.
Please hire me.
Thank you.
hello
I mainly work on Pinescript, Amibroker AFL, MQL etc. and also have knowledge of Javascript.
Refer to my profile for More details and Contact on Live Chat to discuss more on the project.
Regards
hello
there you?
I am very interested in your project
as I am a developer, I have rich experienced and carry out many projects
I love to work with clients, and to finish the project perfectly is my main action.
so I can help you enough with my sincerely.
if you are interested in my word. feel free to contact me.
Thanks