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