once currenthighmensuel=high
once currentlowmensuel=low
once previoushighmensuel=undefined
once previouslowmensuel=undefined
if openmonth <> openmonth[1] then
previoushighmensuel=currenthighmensuel
previouslowmensuel=currentlowmensuel
currenthighmensuel=high
currentlowmensuel=low
currenthighmensuelVol=highvol
currentlowmensuelVol=lowvol
else
currenthighmensuel=max(high,currenthighmensuel)
currentlowmensuel=min(low,currentlowmensuel)
if currenthighmensuel<>currenthighmensuel[1] then
highvol=volume
endif
if currentlowmensuel<>currentlowmensuel[1] then
lowvol=volume
endif
endif
return currenthighmensuelVol as "haut volume",currentlowmensuelVol as "bas volume", previoushighmensuel coloured(139,0,139) as "Précédent haut mensuel", previouslowmensuel coloured(139,0,139) as "Précédent bas mensuel"