可否舉例說明下?連續(xù)收陽線的周期數(shù)用上面函數(shù)該怎么樣表示 謝謝
要判斷這個需要用函數(shù)來寫
variable:n=0;
if c>o then n:=n+1;
if c<=o then n:=0;
n就是連續(xù)陽線的周期數(shù)