1. How do I send something to the print output window? I know where to find it, and have included the following line in my code: Print (“Calc1:” + Calc1); The indicator compiles ok, but I see nothing on the output window.
2. I have created a DrawText line in the indicator, which is intended to show the results of my calculation on the 1st panel of the chart. When I add the indicator to the chart, all I get is the text string which refers to my calculation. I believe I need to convert the double of my calculation ToString. Can someone give an example of how that would be written in the string location of the DrawText?
3. Additionally, my results should show up above several bars on the chart, but currently I am only seeing the text string above the last bar to meet my conditions – if I change the conditions it appears above another bar that meets it. In the DrawText code, I have shown the barsAgo as 0, but do I need to be referring to CurrentBar in some way to get all of them to show?
4. DrawText (Tagcalc1, "calc1", 0, High[0] + 4 * TickSize, Color.Black);
Thanks in advance
Comment