C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- A1:=MA(C,6);
- A2:=MA(C,18);
- A3:=MA(C,25);
- A4:=MA(C,45);
- AA:=(A1+A2+A3+A4)/4;
- UP:=AA*(N/100)+AA;
- DN:=AA-AA*(N/100);
- COUNT(BETWEEN(A1,UP,DN) AND BETWEEN(A2,UP,DN) AND
- BETWEEN(A3,UP,DN) AND BETWEEN(A4,UP,DN),M)=M;
- CLOSE>A1 AND CLOSE>A2 AND CLOSE>A3 AND CLOSE>A4;