C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 财富分水岭,无未来函数
-
- VAR1:=(2*CLOSE+HIGH+LOW)/4;
- VAR2:=EXPMA(EXPMA(EXPMA(VAR1,7),7),7);
- J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
- J2:(REF(VAR2,1)-REF(VAR2,2))/REF(VAR2,2)*100,COLORSTICK;
- J3:IF(J2>0,J2,DRAWNULL),COLORMAGENTA,LINETHICK1;
- J4:IF(0>J2,J2,DRAWNULL),COLORCYAN,LINETHICK1;
- J5: DRAWICON(CROSS(J,J2),J2+0.1,7);
- J6: DRAWICON(CROSS(J2,J) AND J>0,J2+0.1,8);
- 0,COLORWHITE,LINETHICK2;
- STICKLINE(J5,0,J2,1,0),COLORYELLOW;
- STICKLINE(J6,0,J2,1,0),COLORLIBLUE;