C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- VAR1:=(2*CLOSE+OPEN)/3;
- VAR2:=(CLOSE-MA(CLOSE,2))/MA(CLOSE,2)*100;
- VAR3:=(EMA(VAR2,1)+EMA(VAR2,3)+EMA(VAR2,6))/2;
- A1:=EMA(VAR3,2);
- A2:=EMA(A1,2);
- A3:=EMA(A2,2);
- DRAWICON(CROSS(A1,A3),A3-2,1);
- DRAWICON(CROSS(A3,A1),A3+2,2);
- STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED;
- STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED;
- STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED;
- STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED;
- STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED;
- STICKLINE((A1 >= A3),A1,A3,4,1),COLORRED;
- STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN;
- STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN;
- STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN;
- STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN;
- STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN;
- STICKLINE((A1 <= A3),A1,A3,4,1),COLORGREEN;