Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
ichimoku fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peerchemist committed Oct 7, 2018
1 parent 643e1cf commit d89dec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finta/finta.py
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ def ICHIMOKU(cls, ohlc):
kijun_sen = pd.Series((ohlc['high'].rolling(window=26).mean() + ohlc['low'].rolling(window=26).mean()) / 2,
name='KIJUN') ## base line

senkou_span_a = pd.Series(((tenkan_sen / kijun_sen) / 2), name='senkou_span_a') ## Leading span
senkou_span_a = pd.Series(((tenkan_sen + kijun_sen) / 2), name='senkou_span_a') ## Leading span
senkou_span_b = pd.Series(
((ohlc['high'].rolling(window=52).mean() + ohlc['low'].rolling(window=52).mean()) / 2),
name='SENKOU')
Expand Down

0 comments on commit d89dec8

Please sign in to comment.