I recently answered a similar request here: http://finance.groups.yahoo.com/group/amibroker/message/149982
Basically, use -1 for z-order of background. See if that helps. Mike --- In [email protected], Anthony Abry <a...@...> wrote: > > I have a chart where I plot a background to show me an up or a down > trend. I plot that with > Plot (1, "", iif(condition, colorgreen, colorred), > stylearea|styleownscale, 0, 1); > > I then make annotations on the chart, draw Fib retracements, etc. > > However, when I drag a moving average on it, it is hidden by the > stylearea command. When I change the Zorder of the plot command, I see > the MA but the background of the chart changes to AB's default > background colors. > > How can I make the MA move on top of the plot? I tried coding a new > Moving Average with a Z-order setting - but it didn"t work. > > Here some screen shots of what I am talking about: > > I like these background colors, but can't plot a moving average on top > of it (which is dark blue @ 10247) > > > > Here I have the moving average, but the background is at AB's default > again .... >
