主题707
精华0
阅读权限120
注册时间2015-4-2
在线时间0 小时
最后登录2017-1-4
美元42
爱心果11382
贡献0
- 积分
- 13690
指标研习组
- 听众
- 2
|
10爱心果
原为大智慧指标
只要求首次攻击,再次攻击,正常显示即可
主力:=EMA((EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,120)-0.0004;
散户:=EMA((EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,200);
首次攻击:CROSS(主力,散户)*0.5,LINETHICK2,COLORff7f50;
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))));
再次攻击:CROSS((C/Q2),1.03)*0.8;
首次预警:=BARSLAST(首次攻击);
再次预警:BARSLAST(再次攻击),linethick0;
提醒1:IF(首次预警>0,0.5,0),POINTDOT,linethick2;
提醒2:IF(再次预警>0,0.8,0),POINTDOT,linethick2;
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<40) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<40) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));
A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));
A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));
机构买盘:=(A2);
机构卖盘:=(A3);
散户买盘:=(A4);
散户卖盘:=(A5);
TJ:=机构买盘>机构卖盘 AND 机构买盘>散户买盘 AND 机构买盘>散户卖盘;
DRAWTEXTABS(2,5,'所属板块:'+BKNAME),COLORFF50FF,linethick1;
流通盘:=FINANCE2(37)/1000000*100;
DRAWTEXTABS(2,20,'流通盘:'+NUMTOSTRN(流通盘,2)+'亿'),LINETHICK1,COLORRED;
每股收益:=FINANCE2(3);
利润增长:=FINANCE2(10); |
最佳答案
查看完整内容
只要求首次攻击,再次攻击,正常显示即可
主力:=EMA((EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,120)-0.0004;
散户:=EMA((EMA(CLOSE,500)-REF(EMA(CLOSE,500),1))/REF(EMA(CLOSE,500),1)*100,200);
首次攻击:=CROSS(主力,散户),LINETHICK2,COLORff7f50;
Q:=BETWEEN(C/(SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C))),1.05,0.95);
Q2:=IF(Q=0,MA(C,BARSCOUNT(C)),(SUM(AMOUNT,BARSCOUNT(C))/SU ...
|