C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 买入:=(2*CLOSE+HIGH+LOW)/4;
- 不急:=EMA(买入,4);
- 获利:=EMA(不急,4);
- 不贪:=EMA(获利,4);
- 准赚:=(不贪-REF(不贪,1))/REF(不贪,1)*100;
- STICKLINE(准赚>=0,准赚,0,1,0),COLORLIRED;
- STICKLINE(准赚<0,准赚,0,1,0),COLORLIGREEN;
- 绝对精准:CROSS(XMA(L,8),MEMA(O,2)),STICK,COLORYELLOW,LINETHICK5;
- DRAWICON(绝对精准,0.5,1);
- DRAWTEXT(绝对精准,0.4,'-买'),COLORCYAN;
- 顺势而为:MA(准赚,1)COLORMAGENTA,LINETHICK2;
- 止损不拖:MA(准赚,2)COLORWHITE,LINETHICK1;