I try to configure the AlertRearmType in my own MarketAnalyzerColumn. Until now I found this solution:
protected override void OnMarketData(Data.MarketDataEventArgs marketDataUpdate)
{
if (RSI1.Default[0] < 50)
Alert("myAlert", Priority.High, "RSI under 50", NinjaTrader.Core.Globals.InstallDir + @"\sounds\Alert.wav", 60, Brushes.Transparent, Brushes.Black);
But I want to add something like "AlertRearmType = OnConditionReversed;" Because when the Alert Rearm Type is "on timer" I get the same alert in this case every 60 seconds.
Has anyone an idea?
Best Regards
Andreas
Comment