As part of evaluating a strategy, I'd like to print on the chart a few different values, like the ATR, Trail Stop, etc. for each candle. However, I have been unable to even get a simple "Hello World" type of thing to show up. Here's what I've tried:
First tried to add code right below where I'm using a Print command to write to the log. The code is
Draw.Text(this, CurrentBar.ToString() + " Long Entry", "Test LONG Position Update", 0, High[0] + 5, Brushes.AntiqueWhite);
It compiles just fine, but doesn't show up on the chart. I was expecting to see it $5 above the high of the candle in white. But I don't see anything.
I tried it in Strategy Analyzer, and it didn't show up there. I then, created a new chart, added the strategy to the chart, and enabled it. The trade entries show up, but the Draw.Text doesn't.
Finally, I tried using a Draw.Arrow command to see if it would show up. Again, it compiles, but it never shows up on the chart.
Is there something else I have to add to the chart in order for these "draws" to show up?
Thanks!

Comment