i want a drawtext on every Bar with a Value.
How can i do this with this Code:
// Check if we have received a tick on the primary Chart if (BarsInProgress == 0 && CurrentBar > 0 && IsFirstTickOfBar) { macdValue = macd1.Value[0]; macdValue2 = macd1.Value[1]; Draw.Text(this, "1" , "T", 1, Low[0], Brushes.White);}
Draw.Text(this, Unique ID (so its not delete on every Bar) , (macdValue-macdValue2).toString, 1, Low[0], Brushes.White);
Comment