Wkemery / ElliotWaveAnalysis

Elliot Wave Analyzer for OHLC data
GNU General Public License v3.0
77 stars 41 forks source link

analysis summary has no result #1

Open Elyasnz opened 4 years ago

Elyasnz commented 4 years ago

i am using this repository with no change and correct inputs but there is no result for Elliot_Analyzer(pair, forex_swing_file, forex_data_file).analyze() (empty list)

(runnig handle.py file)

GBPUSD_H4.txt GBPUSD_D.txt GBPUSD_H1.txt

sirajmunir2991 commented 3 years ago

@Elyasnz were you able to run it ? I am facing similar issues.

ravi2007147 commented 3 years ago

I am able to make it work but not able to understand the output.

{'.618': 1.30676362, '1.00': 1.29954, '1.62': 1.2878158} Swing1: 1.29799 Swing2: 1.31845 Fib dictionary returned: {'1.27': 1.2924658, '1.62': 1.2853048, '2.62': 1.2648448} .All the Swing Data Date_Time Price Pos Row 287 2020-07-14 18:00:00 1.24786 Low 20592 288 2020-07-15 18:00:00 1.26482 High 20616 289 2020-07-17 17:00:00 1.25105 Low 20663 290 2020-07-21 22:00:00 1.27665 High 20715 291 2020-07-22 13:00:00 1.26427 Low 20730 292 2020-07-31 18:00:00 1.31690 High 20902 293 2020-08-04 17:00:00 1.29799 Low 20948 294 2020-08-06 14:00:00 1.31845 High 20993 295 2020-08-07 18:00:00 1.30087 Low 21021 OHLCDATA Open High Low Close Date_Time
2020-07-14 18:00:00 1.24865 1.25326 1.24786 1.25316 2020-07-14 19:00:00 1.25320 1.25407 1.25204 1.25332 2020-07-14 20:00:00 1.25330 1.25541 1.25318 1.25446 2020-07-14 21:00:00 1.25446 1.25517 1.25421 1.25494 2020-07-14 22:00:00 1.25489 1.25614 1.25486 1.25599 ... ... ... ... ... 2020-08-07 19:00:00 1.30180 1.30582 1.30175 1.30561 2020-08-07 20:00:00 1.30561 1.30568 1.30356 1.30446 2020-08-07 21:00:00 1.30446 1.30489 1.30336 1.30406 2020-08-07 22:00:00 1.30406 1.30532 1.30381 1.30500 2020-08-07 23:00:00 1.30500 1.30552 1.30486 1.30544

[435 rows x 4 columns] Swing1: 1.27665 Swing2: 1.26427 Fib dictionary returned: {'.382': 1.2689991600000001, '.50': 1.27046, '.618': 1.27192084, '.786': 1.27400068} Failed Wave2 on downward call Failed Wave3 on downward call Failed Wave4 on downward call Swing1: 1.26427 Swing2: 1.3169 Fib dictionary returned: {'.382': 1.29679534, '.50': 1.290585, '.618': 1.28437466, '.786': 1.27553282} Failed Wave2 on downward call Failed Wave3 on downward call Swing1: 1.25105 Swing2: 1.3169 Fib dictionary returned: {'.382': 1.2917452999999999, '.50': 1.2839749999999999, '.618': 1.2762047, '.786': 1.2651419} Swing1: 1.3169 Swing2: 1.29799 Projection Point: 1.31845 Fib dictionary returned: {'.618': 1.30676362, '1.00': 1.29954, '1.62': 1.2878158} Swing1: 1.29799 Swing2: 1.31845 Fib dictionary returned: {'1.27': 1.2924658, '1.62': 1.2853048, '2.62': 1.2648448} .Total Time: 2.266735998 root@mail:/home/elliotwave/ElliotWaveAnalysis# clear

root@mail:/home/elliotwave/ElliotWaveAnalysis# python3 Handler.py All the Swing Data Date_Time Price Pos Row 1738 2020-07-30 11:00:00 1.29433 Low 20871 1739 2020-07-31 18:00:00 1.31690 High 20902 1740 2020-08-03 18:00:00 1.30037 Low 20925 1741 2020-08-04 12:00:00 1.31067 High 20943 1742 2020-08-04 17:00:00 1.29799 Low 20948 1743 2020-08-05 18:00:00 1.31603 High 20973 1744 2020-08-06 00:00:00 1.31072 Low 20979 1745 2020-08-06 14:00:00 1.31845 High 20993 1746 2020-08-07 18:00:00 1.30087 Low 21021 OHLCDATA Open High Low Close Date_Time
2020-07-30 11:00:00 1.29548 1.29645 1.29433 1.29574 2020-07-30 12:00:00 1.29576 1.29978 1.29545 1.29805 2020-07-30 13:00:00 1.29806 1.29913 1.29742 1.29891 2020-07-30 14:00:00 1.29891 1.30098 1.29854 1.29991 2020-07-30 15:00:00 1.29990 1.30179 1.29922 1.30152 ... ... ... ... ... 2020-08-07 19:00:00 1.30180 1.30582 1.30175 1.30561 2020-08-07 20:00:00 1.30561 1.30568 1.30356 1.30446 2020-08-07 21:00:00 1.30446 1.30489 1.30336 1.30406 2020-08-07 22:00:00 1.30406 1.30532 1.30381 1.30500 2020-08-07 23:00:00 1.30500 1.30552 1.30486 1.30544

[156 rows x 4 columns] Swing1: 1.31067 Swing2: 1.29799 Fib dictionary returned: {'.382': 1.30283376, '.50': 1.30433, '.618': 1.30582624, '.786': 1.30795648} Failed Wave2 on downward call Failed Wave3 on downward call Failed Wave4 on downward call Swing1: 1.29799 Swing2: 1.31603 Fib dictionary returned: {'.382': 1.30913872, '.50': 1.30701, '.618': 1.30488128, '.786': 1.3018505599999999} Failed Wave2 on downward call Failed Wave3 on downward call .All the Swing Data Date_Time Price Pos Row 908 2020-07-28 12:00:00 1.28370 Low 20824 909 2020-07-29 23:00:00 1.30124 High 20859 910 2020-07-30 11:00:00 1.29433 Low 20871 911 2020-07-31 18:00:00 1.31690 High 20902 912 2020-08-03 18:00:00 1.30037 Low 20925 913 2020-08-04 12:00:00 1.31067 High 20943 914 2020-08-04 18:00:00 1.29890 Low 20949 915 2020-08-06 14:00:00 1.31845 High 20993 916 2020-08-07 18:00:00 1.30087 Low 21021 OHLCDATA Open High Low Close Date_Time
2020-07-28 12:00:00 1.28628 1.28631 1.28370 1.28538 2020-07-28 13:00:00 1.28538 1.28828 1.28510 1.28784 2020-07-28 14:00:00 1.28784 1.28869 1.28659 1.28769 2020-07-28 15:00:00 1.28769 1.28871 1.28689 1.28821 2020-07-28 16:00:00 1.28813 1.28897 1.28589 1.28885 ... ... ... ... ... 2020-08-07 19:00:00 1.30180 1.30582 1.30175 1.30561 2020-08-07 20:00:00 1.30561 1.30568 1.30356 1.30446 2020-08-07 21:00:00 1.30446 1.30489 1.30336 1.30406 2020-08-07 22:00:00 1.30406 1.30532 1.30381 1.30500 2020-08-07 23:00:00 1.30500 1.30552 1.30486 1.30544

[203 rows x 4 columns] Swing1: 1.3169 Swing2: 1.30037 Fib dictionary returned: {'.382': 1.30668446, '.50': 1.308635, '.618': 1.31058554, '.786': 1.31336258} Swing1: 1.3169 Swing2: 1.30037 Projection Point: 1.31067 Fib dictionary returned: {'1.000': 1.29414, '1.618': 1.2839244600000002, '2.618': 1.2673944600000002} Swing1: 1.30037 Swing2: 1.31067 Fib dictionary returned: {'1.618': 1.2940046, '2.618': 1.2837046, '4.236': 1.2670392000000001} Failed Wave3 on downward call Failed Wave4 on downward call Swing1: 1.30037 Swing2: 1.31067 Fib dictionary returned: {'.382': 1.3067354, '.50': 1.30552, '.618': 1.3043046, '.786': 1.3025742} Failed Wave2 on downward call Failed Wave3 on downward call .All the Swing Data Date_Time Price Pos Row 526 2020-07-14 18:00:00 1.24786 Low 20592 527 2020-07-15 18:00:00 1.26482 High 20616 528 2020-07-17 17:00:00 1.25105 Low 20663 529 2020-07-21 22:00:00 1.27665 High 20715 530 2020-07-22 13:00:00 1.26427 Low 20730 531 2020-07-31 18:00:00 1.31690 High 20902 532 2020-08-04 17:00:00 1.29799 Low 20948 533 2020-08-06 14:00:00 1.31845 High 20993 534 2020-08-07 18:00:00 1.30087 Low 21021 OHLCDATA Open High Low Close Date_Time
2020-07-14 18:00:00 1.24865 1.25326 1.24786 1.25316 2020-07-14 19:00:00 1.25320 1.25407 1.25204 1.25332 2020-07-14 20:00:00 1.25330 1.25541 1.25318 1.25446 2020-07-14 21:00:00 1.25446 1.25517 1.25421 1.25494 2020-07-14 22:00:00 1.25489 1.25614 1.25486 1.25599 ... ... ... ... ... 2020-08-07 19:00:00 1.30180 1.30582 1.30175 1.30561 2020-08-07 20:00:00 1.30561 1.30568 1.30356 1.30446 2020-08-07 21:00:00 1.30446 1.30489 1.30336 1.30406 2020-08-07 22:00:00 1.30406 1.30532 1.30381 1.30500 2020-08-07 23:00:00 1.30500 1.30552 1.30486 1.30544

[435 rows x 4 columns] Swing1: 1.27665 Swing2: 1.26427 Fib dictionary returned: {'.382': 1.2689991600000001, '.50': 1.27046, '.618': 1.27192084, '.786': 1.27400068} Failed Wave2 on downward call Failed Wave3 on downward call Failed Wave4 on downward call Swing1: 1.26427 Swing2: 1.3169 Fib dictionary returned: {'.382': 1.29679534, '.50': 1.290585, '.618': 1.28437466, '.786': 1.27553282} Failed Wave2 on downward call Failed Wave3 on downward call Swing1: 1.25105 Swing2: 1.3169 Fib dictionary returned: {'.382': 1.2917452999999999, '.50': 1.2839749999999999, '.618': 1.2762047, '.786': 1.2651419} Swing1: 1.3169 Swing2: 1.29799 Projection Point: 1.31845 Fib dictionary returned: {'.618': 1.30676362, '1.00': 1.29954, '1.62': 1.2878158} Swing1: 1.29799 Swing2: 1.31845 Fib dictionary returned: {'1.27': 1.2924658, '1.62': 1.2853048, '2.62': 1.2648448} .All the Swing Data Date_Time Price Pos Row 287 2020-07-14 18:00:00 1.24786 Low 20592 288 2020-07-15 18:00:00 1.26482 High 20616 289 2020-07-17 17:00:00 1.25105 Low 20663 290 2020-07-21 22:00:00 1.27665 High 20715 291 2020-07-22 13:00:00 1.26427 Low 20730 292 2020-07-31 18:00:00 1.31690 High 20902 293 2020-08-04 17:00:00 1.29799 Low 20948 294 2020-08-06 14:00:00 1.31845 High 20993 295 2020-08-07 18:00:00 1.30087 Low 21021 OHLCDATA Open High Low Close Date_Time
2020-07-14 18:00:00 1.24865 1.25326 1.24786 1.25316 2020-07-14 19:00:00 1.25320 1.25407 1.25204 1.25332 2020-07-14 20:00:00 1.25330 1.25541 1.25318 1.25446 2020-07-14 21:00:00 1.25446 1.25517 1.25421 1.25494 2020-07-14 22:00:00 1.25489 1.25614 1.25486 1.25599 ... ... ... ... ... 2020-08-07 19:00:00 1.30180 1.30582 1.30175 1.30561 2020-08-07 20:00:00 1.30561 1.30568 1.30356 1.30446 2020-08-07 21:00:00 1.30446 1.30489 1.30336 1.30406 2020-08-07 22:00:00 1.30406 1.30532 1.30381 1.30500 2020-08-07 23:00:00 1.30500 1.30552 1.30486 1.30544

[435 rows x 4 columns] Swing1: 1.27665 Swing2: 1.26427 Fib dictionary returned: {'.382': 1.2689991600000001, '.50': 1.27046, '.618': 1.27192084, '.786': 1.27400068} Failed Wave2 on downward call Failed Wave3 on downward call Failed Wave4 on downward call Swing1: 1.26427 Swing2: 1.3169 Fib dictionary returned: {'.382': 1.29679534, '.50': 1.290585, '.618': 1.28437466, '.786': 1.27553282} Failed Wave2 on downward call Failed Wave3 on downward call Swing1: 1.25105 Swing2: 1.3169 Fib dictionary returned: {'.382': 1.2917452999999999, '.50': 1.2839749999999999, '.618': 1.2762047, '.786': 1.2651419} Swing1: 1.3169 Swing2: 1.29799 Projection Point: 1.31845 Fib dictionary returned: {'.618': 1.30676362, '1.00': 1.29954, '1.62': 1.2878158} Swing1: 1.29799 Swing2: 1.31845 Fib dictionary returned: {'1.27': 1.2924658, '1.62': 1.2853048, '2.62': 1.2648448} .Total Time: 2.211141015

developershutt commented 3 years ago

@ravi2007147 How did you executed it. Please help me