Very simple task. Convert the following pine script into javascript. Instead of plotting the results on a chart or displaying them visually, I just need the results back in an array. The results should contain either a 0 or 1 for each time period. I need it to be functional(run with node js) with the simple sample set of data provided. The Pinescript that needs to be converted is also attached.
Hi, How are you?
I read your requirement carefully
I'm sure I can finish your task perfectly in a short time.
As you can see my profile, I'm a senior Javascript developer.
I'm looking forward to work with you.
Best Regard!
Dear sir or madam,
I have an extensive experience with Javascript(2 years as a Front-end developer). Your task is very simple, I am sure I can accomplish it quickly (1 day).
Yours sincerely,
Vlad