I have a custom Indicator that paints a bar when the script conditions are satisfied and I use it on multiple charts. I would like to disable the alert as when it is triggered, I get the alert from all of the charts the indicator is attached to. Unfortunately, there is no disable alert feature and I have tried various options in the tools and alerts priorities but have not found any way to silence other than just muting my system which I would rather not do. Is there a simple way to disable the alert or edit the script so the alert is silenced?
Please see zip file attached and below is a paste of the alarm segment copied from the ninjascript editor.
this.BarBrushes[CurrentBar - highBar] = SellColor;
this.CandleOutlineBrushes[CurrentBar - highBar] = SellColor;
Alert("ss_sell_a", Priority.Medium, "Scalper Sell", null, 5, Brushes.White, Brushes.Red);
trend = -1;
paintBar = highBar + 1;
hightoBeat = -1;
lowtoBeat = double.MaxValue;
triggerPriceBuy = double.MaxValue;
triggerPriceSell = -1;
highBar = 1;
possibleHigh = -2;
Thanks in advance.
Jeff
Comment