Good afternoon,
I tried this code but I realize that even days just appear on my graph (comments on even-numbered days are ok - but the odd days are invisible)
Express Note
Vars
calculation
if date=NumericToDate(20140307) then Highlight("textbelow:Note1","bleu");
if date=NumericToDate(20140310) then Highlight("textbelow:Note2","bleu");
if date=NumericToDate(20140311) then Highlight("textbelow:Note3","bleu");
if date=NumericToDate(20140312) then Highlight("textbelow:Note4","bleu");
interpretation
begin
end
I also tried to frame the period with a date of departure and arrival, with the same result
Maybe the "Highlight" is not compatible with NumericToDate function, or so my code is not correct ? (As in the Function book it is used with a "senti_block/senti_pass sentiment" , and I may be diverted its main use)
Yours Sincerly
Trend
How to assign a comment on a daily chart ?
- WHS Support
- Posts: 2430
- Joined: 14 Feb 2013 10:27
Re: How to assign a comment on a daily chart ?
Dear Trend,
thanks for your input regarding a possible problem with the Express function NumericToDate(). We will investigate this issue and will come back to you as soon as possible.
Kind regards,
Timo
WH SelfInvest
thanks for your input regarding a possible problem with the Express function NumericToDate(). We will investigate this issue and will come back to you as soon as possible.
Kind regards,
Timo
WH SelfInvest
- WHS Support
- Posts: 2430
- Joined: 14 Feb 2013 10:27
Re: How to assign a comment on a daily chart ?
Hello Trend,
sorry for the late reply.
This problem has been solved meanwhile. The NumericToDate() function now only uses two digits instead of 4.
Example: January 1, 2014:
NumericToDate(140101) instead of NumericToDate(20140101).
Kind regards,
Timo
WH SelfInvest
sorry for the late reply.
This problem has been solved meanwhile. The NumericToDate() function now only uses two digits instead of 4.
Example: January 1, 2014:
NumericToDate(140101) instead of NumericToDate(20140101).
Kind regards,
Timo
WH SelfInvest