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

[amibroker] If Cond1 applies skip Cond2 and goto Cond3



PureBytes Links

Trading Reference Links




<FONT face=Arial 
color=#0000ff>Not sure whether you mean Sum vertical or Horizontal... below an 
example for vertical summing.
<FONT face=Arial 
color=#0000ff>Perhaps try something like AddColumn(cum(MALong+RLong),"MA 
Long" + "%R Long", 1.2);
<FONT face=Arial 
color=#0000ff size=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: <FONT face=Arial 
color=#0000ff size=2><SPAN 
class=281423503-03032004>AddToComposite(MALong+RLong,"~Test","X",1|2|4|16);
and 
retrieve the data using Foreign("~Test","X");
<SPAN 
class=281423503-03032004> 
<SPAN 
class=281423503-03032004>herman

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: joeemmett2000 
  [mailto:joeemmett@xxxxxxxxxxxxx]Sent: Tuesday, March 02, 2004 10:17 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  AddColumn-Sum of other columnsI 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, JoeSend BUG 
  REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


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 the Yahoo! Terms of Service.