Futures Day Trading Worksheet

jpettync

New Member
Joined
Mar 1, 2010
Messages
5
I am trying to create a day trading worksheet that I populate each night (and in the morning) to prepare for the next trading day.

There are two items that I am stuck on where I am attempting to use nested IF ANDs. I'm sure there has to be a better way and I have been beating my head against the wall trying to use VLOOKUP but I haven't been successful. :confused:

The first issue is to determine if there is a gap between the current day's open and the prior day's close. I believe I have this working (with IF ANDs) but if there's a better way then I'd like to change it.
There are multiple zones associated with the prior day's close (did we close up or down) and where the current day opens (above the high, above the close but below the high, above the open but below the close, above the low but below the open, below the open, etc... and each zone has an associated probability associated with closing that gap.

The second challenge is to depict three prior day's candles and break each of the candles down into their Open, High, Low, Close and then by 1/8s.
I input the Open, High, Low, and Close of a prior candle manually and then it down in 1/8's. I'm trying to create a table where the numbers are sorted in descending order and depict the labels associated with each of those prices in the table next to the number (High, Open, 7/8, 3/4, 5/8, 1/3, Close, etc...) to get a numerical representation of where the current price falls within the prior candle.

I have worked many hours on this and was hoping to share my worksheet with somebody so I can get some pointers.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Thanks! I have a current spreadsheet that I can share if he/she cares to see it (and where I'm having my issues).
 
Upvote 0
This is one of the tables that I'm trying to create. I supply the High, Close, Open, and Low for the candle and would like to generate the results for the rest of the table. I am trying to depict a picture of the day's candle where the "Open" and "Close" are displayed relative to the breakdown of the entire day's candle.

I am currently creating a table in another section of the spreadsheet and using the SMALL formula to sort it. I then use nested IFs to populate the table. One issue I have is if the Close or Open is equal to one of the other numbers that I'm calculating (1/8, 1/4, 3/8, etc...). The IF formula finds the first match and enters the result.

I will post the HTML to my other issue in a seperate note.

Excel Workbook
ABC
15Candle 1
16Up DayS&PUp Day
17High1115.50High
18Close1114.50Close
19Open1105.50Open
20Low1104.25Low
21High1115.50High
22Close1114.50Close
23.8751114.10.875
24.7501112.70.750
25.6251111.30.625
26.5001109.90.500
27.3751108.50.375
28.2501107.10.250
29.1251105.70.125
30Open1105.50Open
31Low1104.25Low
Pivots & Gap
Excel 2003
Cell Formulas
RangeFormula
A16=IF(F5>C5,"Up Day","Down Day")
A18=IF(F5>C5,"Close","Open")
A19=IF(A18="Open", "Close","Open")
A22=IF($B22=$O$3,"Open",IF($B22=$O$4,"Close",IF($B22=$O$5,".875",IF($B22=$O$6,".750",IF($B22=$O$7,".625",IF($B22=$O$8,".500",$D22))))))
A23=IF($B23=$O$3,"Open",IF($B23=$O$4,"Close",IF($B23=$O$5,".875",IF($B23=$O$6,".750",IF($B23=$O$7,".625",IF($B23=$O$8,".500",$D23))))))
A24=IF($B24=$O$3,"Open",IF($B24=$O$4,"Close",IF($B24=$O$5,".875",IF($B24=$O$6,".750",IF($B24=$O$7,".625",IF($B24=$O$8,".500",$D24))))))
A25=IF($B25=$O$3,"Open",IF($B25=$O$4,"Close",IF($B25=$O$5,".875",IF($B25=$O$6,".750",IF($B25=$O$7,".625",IF($B25=$O$8,".500",$D25))))))
A26=IF($B26=$O$3,"Open",IF($B26=$O$4,"Close",IF($B26=$O$5,".875",IF($B26=$O$6,".750",IF($B26=$O$7,".625",IF($B26=$O$8,".500",$D26))))))
A27=IF($B27=$O$3,"Open",IF($B27=$O$4,"Close",IF($B27=$O$5,".875",IF($B27=$O$6,".750",IF($B27=$O$7,".625",IF($B27=$O$8,".500",$D27))))))
A28=IF($B28=$O$3,"Open",IF($B28=$O$4,"Close",IF($B28=$O$5,".875",IF($B28=$O$6,".750",IF($B28=$O$7,".625",IF($B28=$O$8,".500",$D28))))))
A29=IF($B29=$O$3,"Open",IF($B29=$O$4,"Close",IF($B29=$O$5,".875",IF($B29=$O$6,".750",IF($B29=$O$7,".625",IF($B29=$O$8,".500",$D29))))))
A30=IF($B30=$O$3,"Open",IF($B30=$O$4,"Close",IF($B30=$O$5,".875",IF($B30=$O$6,".750",IF($B30=$O$7,".625",IF($B30=$O$8,".500",$D30))))))
C16=IF(F5>C5,"Up Day","Down Day")
C18=A18
C19=A19
C22=IF($B22=$O$3,"Open",IF($B22=$O$4,"Close",IF($B22=$O$5,".875",IF($B22=$O$6,".750",IF($B22=$O$7,".625",IF($B22=$O$8,".500",$D22))))))
C23=IF($B23=$O$3,"Open",IF($B23=$O$4,"Close",IF($B23=$O$5,".875",IF($B23=$O$6,".750",IF($B23=$O$7,".625",IF($B23=$O$8,".500",$D23))))))
C24=IF($B24=$O$3,"Open",IF($B24=$O$4,"Close",IF($B24=$O$5,".875",IF($B24=$O$6,".750",IF($B24=$O$7,".625",IF($B24=$O$8,".500",$D24))))))
C25=IF($B25=$O$3,"Open",IF($B25=$O$4,"Close",IF($B25=$O$5,".875",IF($B25=$O$6,".750",IF($B25=$O$7,".625",IF($B25=$O$8,".500",$D25))))))
C26=IF($B26=$O$3,"Open",IF($B26=$O$4,"Close",IF($B26=$O$5,".875",IF($B26=$O$6,".750",IF($B26=$O$7,".625",IF($B26=$O$8,".500",$D26))))))
C27=IF($B27=$O$3,"Open",IF($B27=$O$4,"Close",IF($B27=$O$5,".875",IF($B27=$O$6,".750",IF($B27=$O$7,".625",IF($B27=$O$8,".500",$D27))))))
C28=IF($B28=$O$3,"Open",IF($B28=$O$4,"Close",IF($B28=$O$5,".875",IF($B28=$O$6,".750",IF($B28=$O$7,".625",IF($B28=$O$8,".500",$D28))))))
C29=IF($B29=$O$3,"Open",IF($B29=$O$4,"Close",IF($B29=$O$5,".875",IF($B29=$O$6,".750",IF($B29=$O$7,".625",IF($B29=$O$8,".500",$D29))))))
C30=IF($B30=$O$3,"Open",IF($B30=$O$4,"Close",IF($B30=$O$5,".875",IF($B30=$O$6,".750",IF($B30=$O$7,".625",IF($B30=$O$8,".500",$D30))))))
B17=D5
B18=IF(A18="Open",C5,F5)
B19=IF(A19="Open",C5,F5)
B20=E5
B21=D5
B22=Q11
B23=Q10
B24=Q9
B25=Q8
B26=Q7
B27=Q6
B28=Q5
B29=Q4
B30=Q3
B31=E5
 
Upvote 0

Forum statistics

Threads
1,215,030
Messages
6,122,762
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top