Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问判断价格位于两均线之间的代码如何写 #1

Open
zhangshoug opened this issue Jun 10, 2018 · 0 comments
Open

请问判断价格位于两均线之间的代码如何写 #1

zhangshoug opened this issue Jun 10, 2018 · 0 comments

Comments

@zhangshoug
Copy link

示例:通道突破系统
当价格突破20日高点时买入,当价格低于10日低点时卖出。

我想实现下面这个策略,判断价格位于两均线之间的代码如何写
如:价格大于长期均线(如60日均线),低于短期均线(如30日均线)时买入并持有,当MACD死叉时卖出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant