Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 11:16:18 +0000



Contribution/Alternative to Email alerts using PushOver App PUSH notifications

View Count: 362

[2024-03-07 12:08:07]
Trint - Posts: 115
Hi SCE/SC,

You will be keeping the 'Run program if Alert is triggered' feature ..? As I've created a script to send Push notifications to my app on my phone. It will take network 'load' away from Sierra as its using a third party app

I know you are working on an imminent release for the email notifications on alerts but thought I'd pass on an alternative using the PushOver app (you need to register and it does cost £5 for life after the 30 day free trial but handy to use that trial) - I'm not gaining or affiliated with them but it's handy as a backup

Just to say Im using Linux in Wine so syntax differs

Here's the script, I just call it from within Global Settings >> General Settings >> Alerts (Tab)

I have a dedicated SSD drive for running Sierra in LINUX (wine) and just put the reference of the Script in the 'Run Program when this alert is triggered' field
Z:\mnt\SSD\SierraChart\SierraChartInstance_6\ACS_Source\PushOverNotif.bat


@echo off

REM Set your Pushover user key and application token
set USER_KEY=<YOUR_USER_KEY>
set APP_TOKEN=<YOUR_APP_TOKEN>

REM Set the message and title of your notification
set MESSAGE="USD_Alert!"
set TITLE="USD Breaking new lows"

REM API URL for Pushover
set API_URL=https://api.pushover.net/1/messages.json

REM Sending the notification on WINE in Linux environment (windows just use 'curl -s -F')
cmd /c start /unix /usr/bin/curl -s -F "token=%APP_TOKEN%" -F "user=%USER_KEY%" -F "message=%MESSAGE%" -F "title=%TITLE%" %API_URL%

REM Check if the notification was sent successfully
if %ERRORLEVEL% EQU 0 (
echo Notification sent successfully.
) else (
echo Error: Notification failed to send.
)

Hope it helps.
[2024-03-07 21:06:34]
Sierra_Chart Engineering - Posts: 17172
Thank you for this.

You will be keeping the 'Run program if Alert is triggered' feature ..?
Yes this will stay.

We are not concerned about any network load. That is not the issue. The issue is the unreliability of email delivery, and banning and blacklisting and suspensions related to sending too many messages or users marking their own alert messages as spam/junk leading to these conditions. Emails are just so problematic in so many ways.

It is not even a good method of notifications. Dedicated purpose built programs for sending and receiving notifications is the only logical solution. And our chat infrastructure is the best for this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-03-07 21:07:26

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account