Skip to content

Commit 0fe4e21

Browse files
discosultanmementum
authored andcommitted
Fix typos in pivot point comments (mementum#383)
1 parent 59ee952 commit 0fe4e21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backtrader/indicators/pivotpoint.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ class FibonacciPivotPoint(Indicator):
135135
Formula:
136136
- pivot = (h + l + c) / 3 # variants duplicate close or add open
137137
- support1 = p - level1 * (high - low) # level1 0.382
138-
- support2 = p - level2 * (high - low) # level1 0.618
139-
- support2 = p - level3 * (high - low) # level1 1.000
138+
- support2 = p - level2 * (high - low) # level2 0.618
139+
- support3 = p - level3 * (high - low) # level3 1.000
140140
- resistance1 = p + level1 * (high - low) # level1 0.382
141-
- resistance2 = p + level2 * (high - low) # level1 0.618
142-
- resistance2 = p + level3 * (high - low) # level1 1.000
141+
- resistance2 = p + level2 * (high - low) # level2 0.618
142+
- resistance3 = p + level3 * (high - low) # level3 1.000
143143
144144
See:
145145
- http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:pivot_points

0 commit comments

Comments
 (0)