'Alerts with sound
The script below identifies a doji candle and changes it to a yellow colour and works. What command line would trigger a sound alert in TV on a specific timeframe like 5 mins? In TV there are global alert function they have limited choices based on measurements.e.g. crossing up , crossing down, less than , greater than Is there a way to code a sound alert? This is the code: //@version=3 //Doji signals :D
study(title = "Doji signals")
Precision = input(0.15, minval=0.0001, title="Doji's Max Body size") barcolor(abs(open - close) <= (high - low) * Precision ? yellow : na)
doji=(abs(open - close) <= (high - low) * Precision ? 1:0) plot (doji)
alertcondition(doji, title='DDD', message='DBD')
Solution 1:[1]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | FFriZz |

