Skip to content

Commit

Permalink
Fix typos in pivot point comments (mementum#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
discosultan authored and mementum committed May 1, 2019
1 parent 59ee952 commit 0fe4e21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backtrader/indicators/pivotpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ class FibonacciPivotPoint(Indicator):
Formula:
- pivot = (h + l + c) / 3 # variants duplicate close or add open
- support1 = p - level1 * (high - low) # level1 0.382
- support2 = p - level2 * (high - low) # level1 0.618
- support2 = p - level3 * (high - low) # level1 1.000
- support2 = p - level2 * (high - low) # level2 0.618
- support3 = p - level3 * (high - low) # level3 1.000
- resistance1 = p + level1 * (high - low) # level1 0.382
- resistance2 = p + level2 * (high - low) # level1 0.618
- resistance2 = p + level3 * (high - low) # level1 1.000
- resistance2 = p + level2 * (high - low) # level2 0.618
- resistance3 = p + level3 * (high - low) # level3 1.000
See:
- http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:pivot_points
Expand Down

0 comments on commit 0fe4e21

Please sign in to comment.