[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Help by AddColumn problem



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@xxx> 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 amibroker@xxxxxxxxxxxxxxx, "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
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/