Text and Arrows

Questions about MultiCharts and user contributed studies.
trader273
Posts: 12
Joined: 13 Apr 2007

Text and Arrows

Postby trader273 » 15 Jan 2008

Hello,

I was wondering if it is possible the add text to an arrow that is not user inputted. I know how to add something like "buy" or "sell", but I would like it to plot the close of a candle instead of some text I would input. Would this be possible at all?

Thanks!! :D

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 17 Jan 2008

Hello trader273,

Try the following code:

value1 = arw_new(date,time,close,true);
arw_settext(value1, "hello");

Let me know if that's what you are talking about.

Regards.

trader273
Posts: 12
Joined: 13 Apr 2007

Postby trader273 » 18 Jan 2008

Thanks for the reply Marina. It was close to what I was looking for but not quite. Instead of it saying "hello", I would like it to actually put the close of the bar.


Thanks

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 21 Jan 2008

Hi trader273,

Try the code below (no 'hellos' this time :) )

---
value1 = arw_new(date, time,close,true);
arw_settext(value1, NumToStr(close, 4) );

Regards.


Return to “MultiCharts”