I am writing an indicator with the aim to get sound alerts and prints to the output window. I do not want to plot anything in the price chart or in a panel below.
I copied an indicator I had written for something else which included the command "DrawOnPricePanel = true;" - So I am commenting that line out...
Nothing left in the indicator asks for a plot, yet when activated an empty panel opens below the price chart.
Does anyone know what to do here? It seems it is an obvious error on my side but I cannot figure it out.
One thing to mention: I am calling other indicators in the code, for example I am calling MACD and print its value... Could this be causing this?
aaMBmacd_value[0] = aaMBmacd(FastPeriod,SlowPeriod,9).Value[0];
Print("MACD: " + Math.Round(aaMBmacd_value[0],4));
Thank you for your help.
pennywise
Comment