Spreadsheet: 677946d1589614504-nested-if-statements-causing-circularity-problems-in-backtesting-strategy-test-16may20
Sheet: backstest

Backtesting Strategies
 |  |  | 2000-05-02 00:00:00 | 2000-05-03 00:00:00 | 2000-05-04 00:00:00 | 2000-05-05 00:00:00 | 2000-05-08 00:00:00 | 2000-05-09 00:00:00 | 2000-05-10 00:00:00 | 2000-05-11 00:00:00 | 2000-05-12 00:00:00 | 2000-05-15 00:00:00 | 2000-05-16 00:00:00 | 2000-05-17 00:00:00 | 2000-05-18 00:00:00 | 2000-05-19 00:00:00 | 2000-05-22 00:00:00 | 2000-05-23 00:00:00 | 2000-05-24 00:00:00 | 2000-05-25 00:00:00 | 2000-05-26 00:00:00 | 2000-05-30 00:00:00 | 2000-05-31 00:00:00 | 2000-06-01 00:00:00 | 2000-06-02 00:00:00 | 2000-06-05 00:00:00 | 2000-06-06 00:00:00 | 2000-06-07 00:00:00 | 2000-06-08 00:00:00 | 2000-06-09 00:00:00 | 2000-06-12 00:00:00 | 2000-06-13 00:00:00 | 2000-06-14 00:00:00 | 2000-06-15 00:00:00 | 2000-06-16 00:00:00 | 2000-06-19 00:00:00 | 2000-06-20 00:00:00 | 2000-06-21 00:00:00 | 2000-06-22 00:00:00 | 2000-06-23 00:00:00 | 2000-06-26 00:00:00 | 2000-06-27 00:00:00 | 2000-06-28 00:00:00 | 2000-06-29 00:00:00 | 2000-06-30 00:00:00 | 2000-07-03 00:00:00 | 2000-07-05 00:00:00 | 2000-07-06 00:00:00 | 2000-07-07 00:00:00 | 2000-07-10 00:00:00 | 2000-07-11 00:00:00 | 2000-07-12 00:00:00 | 2000-07-13 00:00:00 | 2000-07-14 00:00:00 | 2000-07-17 00:00:00 | 2000-07-18 00:00:00 | 2000-07-19 00:00:00 | 2000-07-20 00:00:00 | 2000-07-21 00:00:00 | 2000-07-24 00:00:00 | 2000-07-25 00:00:00 | 2000-07-26 00:00:00 | 2000-07-27 00:00:00 | 2000-07-28 00:00:00 | 2000-07-31 00:00:00 | 2000-08-01 00:00:00 | 2000-08-02 00:00:00 | 2000-08-03 00:00:00 | 2000-08-04 00:00:00 | 2000-08-07 00:00:00 | 2000-08-08 00:00:00 | 2000-08-09 00:00:00 | 2000-08-10 00:00:00 | 2000-08-11 00:00:00 | 2000-08-14 00:00:00 | 2000-08-15 00:00:00 | 2000-08-16 00:00:00 | 2000-08-17 00:00:00 | 2000-08-18 00:00:00 | 2000-08-21 00:00:00 | 2000-08-22 00:00:00 | 2000-08-23 00:00:00 | 2000-08-24 00:00:00 | 2000-08-25 00:00:00 | 2000-08-28 00:00:00 | 2000-08-29 00:00:00 | 2000-08-30 00:00:00 | 2000-08-31 00:00:00 | 2000-09-01 00:00:00 | 2000-09-05 00:00:00 | 2000-09-06 00:00:00 | 2000-09-07 00:00:00 | 2000-09-08 00:00:00 | 2000-09-11 00:00:00 | 2000-09-12 00:00:00 | 2000-09-13 00:00:00 | 2000-09-14 00:00:00 | 2000-09-15 00:00:00 | 2000-09-18 00:00:00 | 2000-09-19 00:00:00 | 2000-09-20 00:00:00 | 2000-09-21 00:00:00 | 2000-09-22 00:00:00 | 2000-09-25 00:00:00 | 2000-09-26 00:00:00 | 2000-09-27 00:00:00 | 2000-09-28 00:00:00 | 2000-09-29 00:00:00 | 2000-10-02 00:00:00 | 2000-10-03 00:00:00 | 2000-10-04 00:00:00 | 2000-10-05 00:00:00 | 2000-10-06 00:00:00 | 2000-10-10 00:00:00 | 2000-10-11 00:00:00 | 2000-10-12 00:00:00 | 2000-10-13 00:00:00 | 2000-10-16 00:00:00 | 2000-10-17 00:00:00 | 2000-10-18 00:00:00 | 2000-10-19 00:00:00 | 2000-10-20 00:00:00 | 2000-10-23 00:00:00 | 2000-10-24 00:00:00 | 2000-10-25 00:00:00 | 2000-10-26 00:00:00 | 2000-10-27 00:00:00 | 2000-10-30 00:00:00 | 2000-10-31 00:00:00 | 2000-11-01 00:00:00 | 2000-11-02 00:00:00 | 2000-11-03 00:00:00 | 2000-11-06 00:00:00 | 2000-11-07 00:00:00 | 2000-11-08 00:00:00 | 2000-11-09 00:00:00 | 2000-11-10 00:00:00 | 2000-11-13 00:00:00 | 2000-11-14 00:00:00 | 2000-11-15 00:00:00 | 2000-11-16 00:00:00 | 2000-11-17 00:00:00 | 2000-11-20 00:00:00 | 2000-11-21 00:00:00 | 2000-11-22 00:00:00 | 2000-11-24 00:00:00 | 2000-11-27 00:00:00 | 2000-11-28 00:00:00 | 2000-11-29 00:00:00 | 2000-11-30 00:00:00 | 2000-12-01 00:00:00 | 2000-12-04 00:00:00 | 2000-12-05 00:00:00
 | Ticker: ABC |  | 458.32 | 450.82 | 439.58 | 446.61 | 450.82 | 444.73 | 460 | 480 | 490 | 510 | 520 | 461.6 | 462.54 | 456.92 | 459.73 | 467.23 | 457.85 | 439.11 | 436.77 | 452.23 | 466.29 | 477.07 | 496.75 | 498.16 | 485.97 | 496.28 | 483.63 | 479.88 | 479.88 | 489.72 | 503.31 | 486.44 | 470.04 | 479.88 | 482.69 | 472.38 | 465.82 | 463.95 | 480.35 | 478.01 | 480.82 | 470.98 | 451.76 | 468.16 | 474.26 | 478.94 | 488.78 | 489.25 | 494.88 | 503.31 | 501.44 | 509.4 | 497.69 | 500.03 | 508.94 | 529.09 | 532.37 | 530.49 | 528.15 | 522.06 | 524.4 | 512.22 | 529.09 | 528.62 | 530.49 | 534.24 | 551.11 | 552.99 | 545.96 | 544.55 | 533.77 | 543.15 | 555.33 | 554.39 | 545.96 | 560.48 | 560.48 | 576.42 | 580.64 | 574.08 | 575.01 | 569.39 | 580 | 581.25 | 571.25 | 583.75 | 576.88 | 579.38 | 549.38 | 545.63 | 560 | 566.25 | 563.75 | 555.63 | 555 | 546.88 | 535 | 542.5 | 535.63 | 530.63 | 527.5 | 541.25 | 535 | 523.75 | 538.13 | 540.63 | 553.75 | 567.5 | 547.5 | 561.25 | 534.38 | 510 | 494.38 | 467.5 | 498.13 | 508.13 | 493.75 | 495.63 | 513.13 | 509.38 | 504.38 | 516.88 | 506.25 | 490 | 502.5 | 515.63 | 526.25 | 516.88 | 530.63 | 539.38 | 548.75 | 547.5 | 530.63 | 526.88 | 515 | 505 | 507.5 | 501.88 | 516.88 | 513.75 | 493.75 | 491.25 | 470.63 | 473.13 | 474.38 | 476.25 | 494.38 | 498.13 | 489.38 | 478.13 | 507.5
 | Signal:3HHH
 | No pending trades
 | Enter
 | 0.03
 | 0.01
 | Trade_status
 | Profit
 | Loss