做空建仓(有图 源码)
-
相关简介:C/C++ www.zegu.cn 择股网提供 Code 复制内容到剪贴板 DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2; DEA:EMA(DIF,9),COLORWHITE,LINETHICK2; 持仓段:0,COLOR00CFFF; 空仓段:0,COLORFFCCFF; STICKLINE(DIFDEA,-0.5,-0.6,10,1),COLOR00CFFF; STICKLINE(DIFDEA,-0.5,-0.
-
文章来源:择股网作者:股海网发布时间:2010-08-07浏览次数:
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- DIF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED,LINETHICK2;
- DEA:EMA(DIF,9),COLORWHITE,LINETHICK2;
- 持仓段:0,COLOR00CFFF;
- 空仓段:0,COLORFFCCFF;
- STICKLINE(DIF>DEA,-0.5,-0.6,10,1),COLOR00CFFF;
- STICKLINE(DIF<DEA,-0.5,-0.6,10,1),COLORFFCCFF;
- DRAWTEXT(CROSS(DIF,DEA),DIF-0,'建仓'),COLORRED;
- DRAWTEXT(CROSS(DEA,DIF),DIF+0,'空仓'),COLORGREEN;
- MACD彩柱:(DIF-DEA)*2,COLORSTICK;
- STICKLINE(((MACD彩柱<REF(MACD彩柱,1)) AND (MACD彩柱>0)),0,MACD彩柱,1,0),COLORLIBLUE,LINETHICK2;
- STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱<0)),0,MACD彩柱,1,0),COLORFF00FF,LINETHICK2;
- 建仓:IF(DIF<0,DIF,0),COLORYELLOW,LINETHICK2;
- 加仓:IF(DIF<0,0,DIF),COLORRED,LINETHICK2;
- 白线破仓:IF(DIF<DEA,DIF,DEA),COLORWHITE,LINETHICK2;
- 趋势强弱:IF(DIF>DEA,DEA,DEA),COLORFF937F,LINETHICK2;
上一篇:主力集散(副图公式,源码)
下一篇:九指金叉公式波段稳赚