Skip to content

Commit

Permalink
add indicators url
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricporter committed Apr 19, 2017
1 parent 52ea8d3 commit 06e0e5c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@ ABS(C - O)
MA(C, 60) # 60日均线
```

- 平滑异同移动平均线:`MACD`
``` python
MACD() # 获取当前MACD
CROSS(MACD(), 0) # MACD金叉
CROSS(0, MACD()) # MACD死叉
```
其他更多请见:[indicators](https://github.com/cedricporter/funcat/blob/master/funcat/indicators.py)

### 条件「和」与「或」
因为语法的问题,我们需要使用 `&` 代替 `and` 「和」,用 `|` 代替 `or` 「或」。
Expand Down

0 comments on commit 06e0e5c

Please sign in to comment.