通达信司空摘星副图指标 贴图

[复制链接]
查看25 | 回复0 | 2022-7-11 11:11:46 | 显示全部楼层 |阅读模式
副图指标源码:

趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
见底:=10;
短期底部:CROSS(趋势,见底);主力持仓%:EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3),COLORYELLOW,LINETHICK2;
DRAWBAND(主力持仓%,RGB(255,0,0),50,RGB(0,0,255));
浮筹比例:(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0))*100,NODRAW;
STICKLINE(浮筹比例<10,10,浮筹比例,4,0),COLORRED;
DRAWTEXT(FILTER(浮筹比例<10,10),22,'司'),COLORGREEN;
DRAWTEXT(FILTER(浮筹比例<10,10),13,'空'),COLORGREEN;
{筹码多空线}
开盘:=WINNER(O)*100;
收盘:=WINNER(C)*100;
最高:=WINNER(H)*100;
最低:=WINNER(L)*100;
获利比例%:收盘,COLORBROWN,NODRAW;
{换手率}
换手:100*VOL/(FINANCE(7)/100),NODRAW;
换手5日:MA(换手,5),NODRAW;
换手10日:MA(换手,10),NODRAW;
换手20日:MA(换手,20),NODRAW;
85,COLORRED;
10,COLORLIGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.00,0,'理想论坛'),COLORYELLOW;
DIFW:="MACD.DIF#WEEK"(12,26,9);
DEAW:="MACD.DEA#WEEK"(12,26,9);
FCA:=FILTER(CROSS(DIFW,DEAW) AND REF(DEAW,1)<0,13),NODRAW;
XG2:=FCA;
选股:= XG2 AND FCA;
STICKLINE(选股,10,15,3,0),COLORRED;
STICKLINE(选股,15,20,2,0),COLORRED;
STICKLINE(选股,20,25,1,0),COLORRED;
DRAWTEXT(选股,20,'摘星'),COLORRED;


201751020594810849.png

201751020594810849.png

2017510210966742.rar

2.65 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2017510210966742.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则