any method to play a soundfile or trigger alert with code

Forums ProRealTime English forum ProBuilder support any method to play a soundfile or trigger alert with code

Viewing 6 posts - 1 through 6 (of 6 total)
  • #189708

    Is there any way to play a sound using coding wthen a condition is met?

    Alternatively any way to trigger an alert?

     

    #189717

    Nope, sounds can only be played by PRT predefined tools (screeners, ProBacktest, ….). Users have no instruction available to play sounds.

     

     

    #189728

    You can create alert with a returned value of your custom indicator by using the “alert tool” of the platform.

    #189739

    Thank you for suggestions, this is what Ive been doing, setting an alert on my custom signal but I would also like to have different sounds which a programatical function alert would allow.

    This is whats possible in SierraCharts with this function:    sc.PlaySound(“soundfile”,1,”message to display”);

    #192064

    Hi Nicolas,

    My indicator returns a value of 1 in order to trigger an alert but I cannot set the alert to stay ON so that it triggers every time the condition is 1. Also the option to only trigger on the bar close is not available, the alert window only lets me to choose “Real time”.

    Please could you help with this, are these options available?

    thnak you

    #192189

    It is indeed possible to trigger an alert on a previous bar, choose “previous period” or “period ago” in the alert settings window.

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login