Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MJSlattery
 
Posts: n/a
Default Multiple Criteria (add or subtract)


I am working on a stock trading sheet that is checking on several
paramaters like volume, change in price today vs change in price
yesterday, and price moving above or below a trading channel. This is
a back testing process working from historical data downloaded from the
yahoo stock site.

What would the best process be to quary all of the paramaters above and
when each is true issue a "Buy" signal and start accumilating "Profits"
untill the sheets hits a new criteria for "Sell".

I want to calculate the profit or loss based upon the change in stock
price between two sets of multiple criteria. Addationally I want the
sheet to issue one of three positions based upon the most current state
of the markers checked: Buy, Sell or Hold.

Not looking for specific answer just a point me to the correct excel
function.

Thanks, Michael


--
MJSlattery
------------------------------------------------------------------------
MJSlattery's Profile: http://www.excelforum.com/member.php...o&userid=16141
View this thread: http://www.excelforum.com/showthread...hreadid=378306

  #2   Report Post  
olasa
 
Posts: n/a
Default


SUMPRODUCT is a good formula
=IF(SUMPRODUCT((A1:A100200)*(B1:B100<400)*(...)) 0,...)

Another useful approach is to use CHOOSE
=CHOOSE(1+(A1200)*1+(B1400)*1,"Buy","Hold","Sell ")

Hope this helps
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=378306

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF or SUMPRODUCT counting multiple criteria Peo Sjoblom Excel Worksheet Functions 0 May 31st 05 11:40 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM
SUMIF in multiple columns based on other criteria in Excel? Scott Powell Excel Discussion (Misc queries) 9 April 13th 05 02:32 PM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
Counting "rows", i.e. simultaneous criteria for multiple cells gkline Excel Worksheet Functions 2 November 19th 04 07:30 AM


All times are GMT +1. The time now is 06:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"