How can i give the output of a variable on top of a candle?

 

Hello There

I have a problem 

I have a Counter Variable in my EA.

If a special Event Happend i want that in the same Moment the EA should output my Counter Variable like Comment but on top of the candle where the Event was happening.

So actually when the Counter has 45 in it there should stand on the top of the candle 45. but only on that candle where the event was happening

Can someone tell me how to do that ?

Thanks for your help

 

Hello I try that

         string objName = "Bulls"+Time[1];

         double price = High[1]; 
         ObjectCreate(objName, OBJ_TEXT, 0, Time[1], price); 

         ObjectSetText(objName, CharToStr(159), 14, "Wingdings", Yellow);

and with that i can draw a Yellow Point in my Chart.

But I don't Understand how i can draw a number on top of the Chart.

I see your link but I don't Understand excactly what i have to do to get the Result i want.

Can please somone help me with a Code example please?

 
Gspandelino1410: But I don't Understand how i can draw a number on top of the Chart.
I gave you a link to a "Code example." Don't use Wingdings.
Reason: