I just want to add a simple sound alert (like @"C:\Program Files\NinjaTrader 8\sounds\Alert2.wav") to this logic, please help
if (PaintBarColoring != false) {
// Bullish Color
if(CrossAbove(Values[0], Values[1], 1)) {
// Up candle, color only the outline
if (Close[0] >= Open[0]) {
CandleOutlineBrush = CrossoverBull;
}
else {
// Down candle, Color both outline and body
CandleOutlineBrush = CrossoverBull;
BarBrush = CrossoverBull;
}
}
Thanks
Comment