How to assign a comment on a daily chart ?
Posted: 15 Mar 2014 14:56
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
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