Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]() 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
![]() |
|||
|
|||
![]() 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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF or SUMPRODUCT counting multiple criteria | Excel Worksheet Functions | |||
Multiple Criteria IF Nesting | Excel Worksheet Functions | |||
SUMIF in multiple columns based on other criteria in Excel? | Excel Discussion (Misc queries) | |||
Can I get the mode, min, and max with multiple criteria? | Excel Discussion (Misc queries) | |||
Counting "rows", i.e. simultaneous criteria for multiple cells | Excel Worksheet Functions |