TradingView Indicator Script Needs modification

Job ID: 34153741

Budget: $30 – $250 USD

I have a working TradingView Indicator Script that Is working fine on the Charts But Fails to send alerts to Cornix or other Bots.
What is expected from the freelancer is to amend the script which is going to be provided by me along with the indicator description that shows how the indicator works and what technical are involved.
You will need only to make the indicator send signals, Without amending other parts of the script.
The Script comes with the Alert options But I can not figure out how to make it send Buy and Sell signals every time the green and red arrows appears on the chart.
Pls check the attached Pic
I need the signals/ Alert to work only when the Big Green or Big Red Arrow triggered on the chart. I don't want the alert on Buy or Sell Alerts

Here is the Link to the code
https://www.tradingview.com/script/kz4rQIWi-Sniper/
Related categories: PHP JavaScript Python Software Architecture Metatrader