What is it that you are trying to accomplish?

I've never used it, but the documentation for Plot says that the xshift 
argument just physically moves the data along the horizontal axis. What 
equivalent are you trying to achieve in an exploration? 

What you have now is simply going to output the value from 3 bars ago. Is that 
what you want?

Mike

--- In [email protected], "tomczykd" <tomcz...@...> wrote:
>
> Mike,
> 
> Thanks, I know that I must call the new AddColumn, but how I should do this? 
> I made the following:
> 
> Displace = -3;
> GMMACD_3 = Ref(GMMACD, -Displace);
> AddColumn(GMMACD_3, "GMMACD_3", 1.2, colorDefault);
> 
> It's working! But maybe you have another idea?
> 
> Best regards. Dominik
> 
> 
> 
> 
> --- In [email protected], "Mike" <sfclimbers@> wrote:
> >
> > Make a second call to AddColumn to add Displace in its own column.
> > 
> > Read the user guide: 
> > http://www.amibroker.com/guide/afl/afl_view.php?name=AddColumn
> > 
> > Mike
> > 
> > --- In [email protected], "tomczykd" <tomczykd@> wrote:
> > >
> > > Hello,
> > > 
> > > I use Convergence Divergence Histogram translated to Amibroker by 
> > > Mubashar Virk. I made some changes, but still I can't fix the problem 
> > > which I have and I have no idea how to solve it.
> > > 
> > > // code
> > > Color = IIf(GMMACD >=0, colorGreen, colorRed);
> > > Plot (GMMACD, "\nConvergence Divergence Histogram", color, 
> > > styleHistogram);
> > > AddColumn(GMMACD, "GMMACD", 1.2, colorDefault);
> > > 
> > > This working good, but I made the following:
> > > 
> > > // code
> > > Displace = -3;
> > > Color = IIf(GMMACD >=0, colorGreen, colorRed);
> > > Plot (GMMACD, "\nConvergence Divergence Histogram (2)", color, 
> > > styleHistogram, Null, Null, Displace );
> > > }
> > > When I use Plot, everything is OK. But how to make AddColumn for this to 
> > > have displace -3?
> > > I'm looking for your help.
> > > 
> > > Greetings, Dominik
> > >
> >
>


Reply via email to