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

[amibroker] Re: Help on Jurik Approx



PureBytes Links

Trading Reference Links

Thanks Graham,
Got the job done just fine, Joe
--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> Create a new variable adding the values you want to add, then use 
this new
> variable in the addcolumn.
> Like
> 
> A = B + C;
> 
> Addcolumn(A,"summed",1.3);
> 
> Cheers,
> Graham
> http://e-wire.net.au/~eb_kavan/
> 
> -----Original Message-----
> From: joeemmett2000 [mailto:joeemmett@x...] 
> Sent: Wednesday, 3 March 2004 12:36 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: AddColumn-Sum of other columns
> 
> 
> I am trying to sum horizontal. I am only using one stock. I tried 
> some variations of what you recommended, but got nothing to work. 
One 
> error message is "Variable "MA Long" not initialised". Ma Long is 
not 
> initialised in my code. It is the heading of one of the columns I 
> want to sum. More ideas are welcome, Joe
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
> <psytek@xxxx> wrote:
> > Not sure whether you mean Sum vertical or Horizontal... below an
> example for
> > vertical summing.
> > Perhaps try something like AddColumn(cum(MALong+RLong),"MA Long"
> + "%R
> > Long", 1.2);
> > but this would only work for the current stock. For portfolio use
> you can
> > use the AddToComposite() to sum values from each stock in your
> watchlist
> > using an Exploration, like: 
> > AddToComposite(MALong+RLong,"~Test","X",1|2|4|16);
> > and retrieve the data using Foreign("~Test","X");
> > 
> > herman
> >   -----Original Message-----
> >   From: joeemmett2000 [mailto:joeemmett@x...]
> >   Sent: Tuesday, March 02, 2004 10:17 PM
> >   To: amibroker@xxxxxxxxxxxxxxx
> >   Subject: [amibroker] AddColumn-Sum of other columns
> > 
> > 
> >   I am doing an 'Explore' in which I have columns giving me the 
1's
> and
> >   0's for Buys and Sells.
> >   I have columns labeled "MA Long", "MA Short", "%R Long", & "%R
> Short".
> >   I want to have a AddColumn which will give me the sum of "MA 
Long"
> >   and "%R Long".
> >   Something along the lines of;Addcolumn(Sum,"MA Long" + "%R
> Long");.
> >   Thanks for all the help, Joe
> > 
> > 
> > 
> >   Send BUG REPORTS to bugs@xxxx
> >   Send SUGGESTIONS to suggest@xxxx
> >   -----------------------------------------
> >   Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> >   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> >   --------------------------------------------
> >   Check group FAQ at: 
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > 
> > 
> > 
> > ------------------------------------------------------------------
--
> --------
> > --
> >   Yahoo! Groups Links
> > 
> >     a.. To visit your group on the web, go to:
> >     http://groups.yahoo.com/group/amibroker/
> > 
> >     b.. To unsubscribe from this group, send an email to:
> >     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > 
> >     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
> Service.
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/