Hi,
I was wondering what the formula is to get the difference of working days between the swings (G column).
2020-03-15 is the last current known swing, 2022-02-10 was the previous swing, and so on.
Thanks in advance.
I was wondering what the formula is to get the difference of working days between the swings (G column).
2020-03-15 is the last current known swing, 2022-02-10 was the previous swing, and so on.
Thanks in advance.
Trading Data All.xlsx | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | Date | Timeframe | Open | High | Low | Close | Swings | Pips | Opbouw | FibRatios | TimeDiff | Column1 | ||
2 | 2022-03-18 | Daily | 1,3147 | 1,3150 | 1,3145 | 1,3150 | 58 | FALSE | ||||||
3 | 2022-03-17 | Daily | 1,3146 | 1,3211 | 1,3087 | 1,3149 | 57 | FALSE | ||||||
4 | 2022-03-16 | Daily | 1,3039 | 1,3157 | 1,3030 | 1,3147 | 31 | FALSE | ||||||
5 | 2022-03-15 | Daily | 1,3000 | 1,3089 | 1,2999 | 1,3042 | 1,2999 | -644 | -80 | -225,5% | #VALUE! | |||
6 | 2022-03-14 | Daily | 1,3039 | 1,3079 | 1,3001 | 1,3001 | -46 | FALSE | ||||||
7 | 2022-03-11 | Daily | 1,3083 | 1,3125 | 1,3028 | 1,3036 | -70 | FALSE | ||||||
8 | 2022-03-10 | Daily | 1,3175 | 1,3195 | 1,3081 | 1,3084 | 5 | FALSE | ||||||
9 | 2022-03-09 | Daily | 1,3099 | 1,3190 | 1,3088 | 1,3187 | 45 | FALSE | ||||||
10 | 2022-03-08 | Daily | 1,3103 | 1,3145 | 1,3082 | 1,3100 | -99 | FALSE | ||||||
11 | 2022-03-07 | Daily | 1,3221 | 1,3243 | 1,3102 | 1,3103 | -109 | FALSE | ||||||
12 | 2022-03-04 | Daily | 1,3344 | 1,3352 | 1,3202 | 1,3231 | -66 | FALSE | ||||||
13 | 2022-03-03 | Daily | 1,3404 | 1,3418 | 1,3318 | 1,3349 | 11 | FALSE | ||||||
14 | 2022-03-02 | Daily | 1,3318 | 1,3407 | 1,3272 | 1,3405 | -31 | FALSE | ||||||
15 | 2022-03-01 | Daily | 1,3417 | 1,3438 | 1,3302 | 1,3324 | 6 | FALSE | ||||||
16 | 2022-02-28 | Daily | 1,3309 | 1,3432 | 1,3309 | 1,3420 | -7 | FALSE | ||||||
17 | 2022-02-25 | Daily | 1,3373 | 1,3439 | 1,3367 | 1,3409 | -111 | FALSE | ||||||
18 | 2022-02-24 | Daily | 1,3541 | 1,3549 | 1,3273 | 1,3377 | -71 | FALSE | ||||||
19 | 2022-02-23 | Daily | 1,3574 | 1,3621 | 1,3536 | 1,3547 | 16 | FALSE | ||||||
20 | 2022-02-22 | Daily | 1,3600 | 1,3605 | 1,3538 | 1,3586 | -34 | FALSE | ||||||
21 | 2022-02-21 | Daily | 1,3586 | 1,3639 | 1,3584 | 1,3600 | -4 | FALSE | ||||||
22 | 2022-02-18 | Daily | 1,3614 | 1,3643 | 1,3573 | 1,3595 | 5 | FALSE | ||||||
23 | 2022-02-17 | Daily | 1,3582 | 1,3638 | 1,3556 | 1,3614 | 37 | FALSE | ||||||
24 | 2022-02-16 | Daily | 1,3534 | 1,3601 | 1,3526 | 1,3579 | 34 | FALSE | ||||||
25 | 2022-02-15 | Daily | 1,3519 | 1,3567 | 1,3487 | 1,3540 | -5 | FALSE | ||||||
26 | 2022-02-14 | Daily | 1,3551 | 1,3572 | 1,3495 | 1,3533 | -38 | FALSE | ||||||
27 | 2022-02-11 | Daily | 1,3553 | 1,3610 | 1,3514 | 1,3560 | -34 | FALSE | ||||||
28 | 2022-02-10 | Daily | 1,3534 | 1,3644 | 1,3523 | 1,3561 | 1,3644 | 286 | 117 | -73,1% | 29720 | |||
29 | 2022-02-09 | Daily | 1,3538 | 1,3589 | 1,3527 | 1,3534 | 19 | FALSE | ||||||
30 | 2022-02-08 | Daily | 1,3535 | 1,3564 | 1,3508 | 1,3548 | 17 | FALSE | ||||||
31 | 2022-02-07 | Daily | 1,3533 | 1,3551 | 1,3491 | 1,3536 | -14 | FALSE | ||||||
32 | 2022-02-04 | Daily | 1,3596 | 1,3615 | 1,3505 | 1,3527 | -33 | FALSE | ||||||
33 | 2022-02-03 | Daily | 1,3574 | 1,3628 | 1,3538 | 1,3599 | 23 | FALSE | ||||||
34 | 2022-02-02 | Daily | 1,3516 | 1,3587 | 1,3515 | 1,3576 | 87 | FALSE | ||||||
35 | 2022-02-01 | Daily | 1,3443 | 1,3528 | 1,3428 | 1,3524 | 41 | FALSE | ||||||
36 | 2022-01-31 | Daily | 1,3393 | 1,3460 | 1,3387 | 1,3445 | 22 | FALSE | ||||||
37 | 2022-01-28 | Daily | 1,3379 | 1,3433 | 1,3365 | 1,3395 | 7 | FALSE | ||||||
38 | 2022-01-27 | Daily | 1,3461 | 1,3468 | 1,3358 | 1,3381 | 1,3358 | -391 | -167 | -66,5% | 29710 | |||
39 | 2022-01-26 | Daily | 1,3493 | 1,3525 | 1,3445 | 1,3465 | 6 | FALSE | ||||||
40 | 2022-01-25 | Daily | 1,3485 | 1,3519 | 1,3436 | 1,3500 | -47 | FALSE | ||||||
41 | 2022-01-24 | Daily | 1,3551 | 1,3565 | 1,3441 | 1,3490 | -37 | FALSE | ||||||
42 | 2022-01-21 | Daily | 1,3599 | 1,3602 | 1,3546 | 1,3553 | -60 | FALSE | ||||||
43 | 2022-01-20 | Daily | 1,3610 | 1,3662 | 1,3587 | 1,3598 | 13 | FALSE | ||||||
44 | 2022-01-19 | Daily | 1,3592 | 1,3649 | 1,3587 | 1,3612 | -13 | FALSE | ||||||
45 | 2022-01-18 | Daily | 1,3642 | 1,3662 | 1,3573 | 1,3598 | -28 | FALSE | ||||||
46 | 2022-01-17 | Daily | 1,3674 | 1,3690 | 1,3637 | 1,3645 | -53 | FALSE | ||||||
47 | 2022-01-14 | Daily | 1,3707 | 1,3743 | 1,3653 | 1,3683 | -6 | FALSE | ||||||
48 | 2022-01-13 | Daily | 1,3696 | 1,3749 | 1,3696 | 1,3702 | 1,3749 | 588 | 128 | -87,3% | 29700 | |||
49 | 2022-01-12 | Daily | 1,3633 | 1,3714 | 1,3621 | 1,3700 | 59 | FALSE | ||||||
50 | 2022-01-11 | Daily | 1,3576 | 1,3636 | 1,3562 | 1,3634 | 29 | FALSE | ||||||
51 | 2022-01-10 | Daily | 1,3580 | 1,3604 | 1,3532 | 1,3575 | 5 | FALSE | ||||||
52 | 2022-01-07 | Daily | 1,3527 | 1,3598 | 1,3527 | 1,3592 | 37 | FALSE | ||||||
53 | 2022-01-06 | Daily | 1,3551 | 1,3559 | 1,3490 | 1,3535 | -32 | FALSE | ||||||
54 | 2022-01-05 | Daily | 1,3528 | 1,3599 | 1,3522 | 1,3556 | 63 | FALSE | ||||||
55 | 2022-01-04 | Daily | 1,3475 | 1,3557 | 1,3459 | 1,3528 | 29 | FALSE | ||||||
56 | 2022-01-03 | Daily | 1,3529 | 1,3533 | 1,3431 | 1,3477 | -35 | FALSE | ||||||
57 | 2021-12-31 | Daily | 1,3492 | 1,3550 | 1,3465 | 1,3542 | 11 | FALSE | ||||||
58 | 2021-12-30 | Daily | 1,3487 | 1,3522 | 1,3454 | 1,3502 | 46 | FALSE | ||||||
59 | 2021-12-29 | Daily | 1,3429 | 1,3500 | 1,3409 | 1,3487 | -6 | FALSE | ||||||
60 | 2021-12-28 | Daily | 1,3440 | 1,3462 | 1,3415 | 1,3429 | 25 | FALSE | ||||||
61 | 2021-12-27 | Daily | 1,3392 | 1,3445 | 1,3389 | 1,3443 | 5 | FALSE | ||||||
62 | 2021-12-24 | Daily | 1,3404 | 1,3420 | 1,3385 | 1,3392 | 44 | FALSE | ||||||
63 | 2021-12-23 | Daily | 1,3347 | 1,3438 | 1,3341 | 1,3411 | 100 | FALSE | ||||||
64 | 2021-12-22 | Daily | 1,3251 | 1,3363 | 1,3240 | 1,3349 | 43 | FALSE | ||||||
65 | 2021-12-21 | Daily | 1,3205 | 1,3271 | 1,3198 | 1,3269 | 24 | FALSE | ||||||
66 | 2021-12-20 | Daily | 1,3240 | 1,3245 | 1,3173 | 1,3209 | -57 | FALSE | ||||||
67 | 2021-12-17 | Daily | 1,3319 | 1,3339 | 1,3231 | 1,3234 | -11 | FALSE | ||||||
68 | 2021-12-16 | Daily | 1,3257 | 1,3375 | 1,3242 | 1,3323 | 70 | FALSE | ||||||
69 | 2021-12-15 | Daily | 1,3230 | 1,3283 | 1,3172 | 1,3259 | -19 | FALSE | ||||||
70 | 2021-12-14 | Daily | 1,3212 | 1,3256 | 1,3191 | 1,3227 | -16 | FALSE | ||||||
71 | 2021-12-13 | Daily | 1,3246 | 1,3269 | 1,3207 | 1,3212 | 20 | FALSE | ||||||
72 | 2021-12-10 | Daily | 1,3220 | 1,3276 | 1,3187 | 1,3263 | 17 | FALSE | ||||||
73 | 2021-12-09 | Daily | 1,3201 | 1,3223 | 1,3171 | 1,3219 | 10 | FALSE | ||||||
74 | 2021-12-08 | Daily | 1,3241 | 1,3261 | 1,3161 | 1,3202 | 1,3161 | -673 | -128 | -159,4% | 29674 | |||
75 | 2021-12-07 | Daily | 1,3262 | 1,3289 | 1,3209 | 1,3242 | 3 | FALSE | ||||||
Time2Swings |
Cell Formulas | ||
---|---|---|
Range | Formula | |
L2:L4 | L2 | =IF(G2<>0,NETWORKDAYS(A:A,A:A)) |
L5 | L5 | =IF(G5<>0,NETWORKDAYS(IF(G3:G500,">0",0),A2,A28)) |
L6:L75 | L6 | =IF(G6<>0,NETWORKDAYS(IF(G3:G501>0,2999),A3,A29)) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
ExternalData_4 | =Time2Swings!$A$1:$F$691 | L2:L4 |