Dear Support Team,
I understand that your platform can deliver notifications both by SMS and by e-mail. I have developed a custom indicator that draws specific annotations on the chart, and I would like to trigger an alert whenever that markup changes.
In total I need four distinct messages:
Each reversal area appears only when the indicator’s internal conditions are met.
Could you advise how to send the corresponding SMS/e-mail alert as soon as one of these conditions is satisfied?
I would be grateful for any guidance and am happy to answer any follow-up questions.
Thank you for your help.
Kind regards,
Boris
Manual Alerts, added on your chart by clicking the BELL icon on the toolbar, can only be set on data RETURNed by an indicator. Data plotted on the chart using graphical instructions (DrawSegment, DrawText, etc…) is not accessible.
Example of an indicator returning a signal on a MA crossover, you can set an alert on
SIGNAL:
Sma = average[20,0](close)
Signal = close CROSSES OVER Sma
RETURN Signal AS "CrossOver"
Hi. You could create a variable like setup and create 4 alerts with 4 messages depending on the setup value.
The main limitation is that the platform must remain open in order for alerts on your custom indicators to function.
This is because alerts based on user-programmed indicators only trigger when the ProRealTime platform is actively running.
If you want to set alerts that work even when the platform is closed (via email or SMS), the alert conditions must reference predefined, built-in indicators—not custom-coded ones.
ema10=average[10,1](close)
ema50=average[50,1](close)
ema200=average[200,1](close)
if ema10 crosses over ema50 then
setup=1
elsif ema10 crosses under ema50 then
setup=-1
elsif ema50 crosses over ema200 then
setup=2
elsif ema50 crosses under ema200 then
setup=-2
else
setup=0
endif
return setup
hank you very much for your answers. One more question: can I embed a “send alert” command directly in the indicator itself—so that when a certain condition is met, an email is sent—or does ProRealTime simply not have such commands? If possible, could you also explain the difference between an indicator and a strategy? Perhaps indicators cannot send alerts, while strategies can.
Kind regards.
Thank oyu , have a good week.
Am I correct in understanding that email alerts are sent only for the standard indicators that come with the platform and do not work for custom indicators created by users?
Great thanks ? have a good week!
Hello RTR,
ProRealTime has set up a suggestions box where you can give feedback about likes, dislikes, and ideas for improvement, you can find it at the bottom of the following PRT page, in the 4th box named “give us feedback”:
English version:
https://www0.prorealtime.com/en/contact
Spanish version:
https://www0.prorealtime.com/es/contacto