apo calculation note

This commit is contained in:
Kevin Johnson
2019-05-21 09:18:52 -07:00
parent ac903b4479
commit aa07f72093
+1
View File
@@ -16,6 +16,7 @@ def apo(close, fast=None, slow=None, offset=None, **kwargs):
# Calculate Result
fastma = ema(close, length=fast, **kwargs)
slowma = ema(close, length=slow, **kwargs)
# EMAs are equivalent with talib, only their difference is minutely off
apo = fastma - slowma
# Offset