// Var indicator
MCD = MACDline[12,26,9](close)
atr=averagetruerange[14]
// Logic
if MCD CROSSES OVER 0 THEN
drawarrowup(barindex,low-atr/2) coloured(0,204,0)
Add voice alert (enter long)
endif
if MCD CROSSES UNDER 0 THEN
drawarrowdown(barindex,high+atr/2) coloured(255,128,0)
Hi,
Currently, in ProRealTime, it is not possible to add voice alerts through programming in ProBuilder. While you can set up basic visual and sound alerts using the ALERT function, there is no instruction available to integrate custom voice alerts within the code. This type of functionality is not supported directly by the platform’s programming language.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue