+ Reply to Thread
Results 1 to 5 of 5

Need Excel detect and calculate the trades automatically

  1. #1
    Registered User
    Join Date
    05-10-2010
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Need Excel detect and calculate the trades automatically

    Need help with formulas in excel to calculate return on trades signaled by some other columns
    This is a trading model that says when to buy, and when to sell a stock. Need help with automatize the process with calculating the returns of the trades.

    The workbook consists of two sheet, need help on the second sheet. The second sheet import value from sheet one (which is only pasted as values here). And tell when to buy a stock and when not too.
    When the stockprice occurs in column B (when it exceed a certain level in sheet 1) we buy, and sell when the price again occurs in column C (when in comes within a certain level in sheet 1), and in column F I calculate the return for the trade. Any suggestion for how I can use formulas to automatize of the process in column D, E and F?

    Let me know if more details are needed to suggest a solution.
    Attached Files Attached Files
    Last edited by shippingkongen; 05-29-2010 at 05:21 AM.

  2. #2
    Registered User
    Join Date
    05-10-2010
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need Excel detect and calculate the trades automatically

    Nobody who knows how this can be done?

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Need Excel detect and calculate the trades automatically

    Hi, try in F10 a formula like this. You have to drag down the formula along column F

    =IF(E10<>"",-(E10-LOOKUP(2,(1/D$2:D10),D$2:D10)))/LOOKUP(2,(1/D$2:D10),D$2:D10)

    Hope it's a little help.

    Edit: I could not read sheet1 and its formula because of my excel doest not support 2007
    Last edited by canapone; 05-29-2010 at 05:48 AM.

  4. #4
    Registered User
    Join Date
    05-10-2010
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need Excel detect and calculate the trades automatically

    thanks you very much, that worked very well

    But do you have any suggestion for how I can use formulas in column d and f, do get the start and the end of the trades based the signal from column b and c??

  5. #5
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Need Excel detect and calculate the trades automatically

    Hi, I tried to find some solutions: so far no luck.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1