Creating sound allert for the equality of Kijunsen and Span B in ichimoku indicator
Created at 05 Jul 2022, 14:57
SA
Creating sound allert for the equality of Kijunsen and Span B in ichimoku indicator
05 Jul 2022, 14:57
Hello . Can anyone guide me? I want to add a code to the Ichimoku indicator so that whenever the values of Kijunsen and Span B are equal to each other, Only on the chart that is open , a sound allert will be generated.
If possible, please send it here.
firemyst
07 Jul 2022, 16:31
RE:
safaeianmohsen said:
You would do something like this (pseudo code) in your indicator's calculate method:
if (Kijunsen.Result.Last(0) == SpanB.Result.Last(0))
{
System.Media.SystemSounds.Exclamation.Play();
}
@firemyst