// affichage de toutes les MM des UT supérieures en lignes sur le graph Daily
defparam drawonlastbaronly=true
timeframe(1 year)
MM7Y = Average[7](Close)
MM20Y = Average[20](Close)
timeframe(3 month)
MM7T = Average[7](Close)
MM20T = Average[20](Close)
MM50T = Average[50](Close)
timeframe(1 month)
MM7M = Average[7](Close)
MM20M = Average[20](Close)
MM50M = Average[50](Close)
MM100M = Average[100](Close)
MM200M = Average[200](Close)
timeframe(1 week)
MM7W = Average[7](Close)
MM20W = Average[20](Close)
MM50W = Average[50](Close)
MM100W = Average[100](Close)
MM200W = Average[200](Close)
timeframe(default)
DRAWHLINE (MM7Y) coloured(192, 192, 192)
DRAWHLINE (MM20Y) coloured(192, 192, 192)
DRAWHLINE (MM7T) coloured(192, 192, 192)
DRAWHLINE (MM20T) coloured(192, 192, 192)
DRAWHLINE (MM50T) coloured(192, 192, 192)
DRAWHLINE (MM7M) coloured(0, 255, 255)
DRAWHLINE (MM20M) coloured(0, 255, 255)
DRAWHLINE (MM50M) coloured(0, 255, 255)
DRAWHLINE (MM100M) coloured(0, 255, 255)
DRAWHLINE (MM200M) coloured(0, 255, 255)
DRAWHLINE (MM7W) coloured(255, 0, 255)
DRAWHLINE (MM20W) coloured(255, 0, 255)
DRAWHLINE (MM50W) coloured(255, 0, 255)
DRAWHLINE (MM100W) coloured(255, 0, 255)
DRAWHLINE (MM200W) coloured(255, 0, 255)
return