Afficher un commentaire sur un graphique

Post Reply
Ceres
Posts: 73
Joined: 31 Mar 2014 09:53

Afficher un commentaire sur un graphique

Post by Ceres »

Bonjour WH , je me permets de relancer ce sujet
post3868.html#p3868

Comment contourner ce problème :?:

Express Test

Vars

calculation
if date= NumericToDate(20140611) then Highlightrgb("ellipse",0,0,0);
if date= NumericToDate(20140612) then Highlightrgb("ellipse",0,0,0);
if date= NumericToDate(20140613) then Highlightrgb("ellipse",0,0,0);
interpretation

begin
end


Mon Ellipse s'affiche que sur le jeudi 12 juin


Express Test

Vars

calculation
if date= NumericToDate(20140611) then Highlight("textbelow:Mercredi \n11 juin","bleu");
if date= NumericToDate(20140612) then Highlight("textbelow:Jeudi \n12 juin","bleu");
if date= NumericToDate(20140613) then Highlight("textbelow:Vendredi \n13 juin ?","bleu");
interpretation

begin
end


Comment assigner un commentaire sur un jour précis sur une bougie Daily ?
En vous remerciant par avance

Salutations
User avatar
WHS Support
Posts: 2443
Joined: 14 Feb 2013 10:27

Re: Afficher un commentaire sur un graphique

Post by WHS Support »

Bonjour,

Je fais suite à votre post et vous informe que la fonction "NumericToDate" a été modifiée et se trouve dans le manuel des fonctions express.

En effet, la date du 11/06/2014 doit être exprimée 140611 et non pas 20140611.

Voici votre code modifié:

Express Test

Vars

calculation
if date= NumericToDate(140611) then Highlightrgb("ellipse",0,0,0);
if date= NumericToDate(140612) then Highlightrgb("ellipse",0,0,0);
if date= NumericToDate(140613) then Highlightrgb("ellipse",0,0,0);
interpretation

begin
end

Je vous en souhaite bonne réception.

Cordialement,

Amélie

WH SelfInvest
Ceres
Posts: 73
Joined: 31 Mar 2014 09:53

Re: Afficher un commentaire sur un graphique

Post by Ceres »

Merci infiniment ça fonctionne
Bien cordialement
Post Reply

Return to “WHS NANOTRADER - EXPRESS PROGRAMMING”