[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about Text on chart



PureBytes Links

Trading Reference Links

I've coded a indicator and I want them to put a text in the chart with the
values of the indicator.  I want the values to be lined up vertically.

I've put:

If HTrend = True then WaveText = Text_New(RHDate[0], RHTime[0], RHVal[0],
NumToStr(WaveVal[0], 2)
 + NewLine + NumToStr(WaveBar[0], 0) + NewLine + NumToStr(WavePTV[0], 2));
If LTrend = True then WaveText = Text_New(RLDate[0], RLTime[0], RLVal[0],
NumToStr(WaveVal[0], 2)
 + NewLine + NumToStr(WaveBar[0], 0) + NewLine + NumToStr(WavePTV[0], 2));

The "NewLine" function gives me two boxes between the 3 value.  Is the
function broken or am I doing something wrong.  Is there any extra criterias
I need to put to setup the String, like string size or something like that?

Thanks in advance.

Travis