I want to add sound signal macd indicator.
Now I use such code in my strategy which based on MACD
if (CrossAbove( MACDB(10,2,12,26,9,1),0, 1))
{
PlaySound(@"C:\1.wav");
}
But how to include such code to indicator. And how to include list of sounds into options of indicator (because peopls like to choose different sounds)?
Comment