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

HHV和LLV的第二个参数如果是序列应该怎么实现? #48

Open
henry989-hub opened this issue Jul 31, 2023 · 1 comment
Open

Comments

@henry989-hub
Copy link

下面是一段通达信的代码:
T:=BARSLAST(CROSS(MA5,MA60));{5日均线上穿10均线以来的周期数}
ZDL:=HHV(VOL,T+20);{最大成交量}
ZXL:=LLV(VOL,T);{最小成交量}
YT:=HHV(C,T);{鸭头顶}
A1:=EVERY(C>MA60,T);{收盘价都在MA60以上}

其中HHV、LLV的第二个参数是T的一个序列,这个好像在python中会报错,因为第二个参数不支持序列,请问有什么实现的办法吗?
谢谢了!

@tianhm
Copy link

tianhm commented Aug 19, 2023

使用mytt_plus里面的。

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

2 participants