+ 1

Need help to get notifications when consecutive increase or decrease of value to trigger at stated number of times

Need help about the code attached on how to trigger notifications when Price goes up at a number of consecutive times If for instance - price of Dash goes up from 50 - 52 - 54+ 58 and then back to 53 , in summary the price went up 4 consecutive times, So if I want to trigger based on number of times set for the price to trigger whether up or down Kindly help review the code drafted , it is not given more than +1 & -1 times https://code.sololearn.com/WsqmMx7Qielz/?ref=app

1st Jun 2022, 3:21 AM
Faith Adewale Onasoga
2 Respuestas
0
I have added it : sorry am new to using the platform
1st Jun 2022, 3:36 AM
Faith Adewale Onasoga
0
I have included the link in the post , thanks it's on JavaScript not node
1st Jun 2022, 3:44 AM
Faith Adewale Onasoga