C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 庄家:=EMA(EMA(CLOSE,10),10);
- 现价:=(庄家-REF(庄家,1))/REF(庄家,1)*1000;
- STICKLINE(现价<REF(现价,1) AND 现价<0,现价,1,3,0),COLORBLUE;
- 吸筹:IF(现价<REF(现价,1) AND 现价<0,现价,0)COLORBLUE,NODRAW;
- 主力:=100*0.85;
- STICKLINE(主力>50 AND COST(85)<CLOSE AND 现价>0,现价,1,3,0),COLORRED;
- 拉升:IF(主力>50 AND COST(85)<CLOSE AND 现价>0,现价,0),COLORRED,NODRAW;
- STICKLINE(现价<REF(现价,1) AND 现价>0,现价,1,3,0),COLOR00FF00;
- 出货:IF(现价<REF(现价,1) AND 现价>0,现价,0),COLOR00FF00,NODRAW;
- 平均价 := SMA (现价,5,1)-SMA(现价,13,1);
- 升势:平均价-SMA(平均价, 3,1),LINETHICK2,COLORRED;
- 跌势:IF(升势<REF(升势,1),升势,DRAWNULL)LINETHICK2,COLORLIBLUE;