可否举例说明下?连续收阳线的周期数用上面函数该怎么样表示 谢谢
要判断这个需要用函数来写
variable:n=0;
if c>o then n:=n+1;
if c<=o then n:=0;
n就是连续阳线的周期数