Support Board
Date/Time: Fri, 07 Feb 2025 14:42:20 +0000
Post From: Audio Alert When Price Close to EMA
[2020-07-25 16:03:52] |
cmet - Posts: 605 |
This is easy to do using the study called Color Bar Based on Alert Condition. I'm assuming you are looking for an audio alert when price is approaching from above or below and your EMA is ID:1. You could use formulas for the alert that might look like these (or combine them using the OR statement). These use the close although you could use high or low depending on preference: Approaching From Below: AND(C >= ID:1.SG1 - 40*ticksize, C[-1] < ID:1.SG1[-1] - 40*ticksize) Approaching From Above: AND(C <= ID:1.SG1 + 40*ticksize, C[-1] > ID:1.SG1[-1] + 40*ticksize) For 4 points you just change the 40 to a 16 for ticksize. Date Time Of Last Edit: 2020-07-26 02:47:16
|