通达信空爱吃预警指标(源码)
2014-05-19 10:00:00来源:本站整理浏览:241
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
买2:=QJ0*(JJ-MIN(CLOSE,OPEN));
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ);
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
DT:=((买1+买2)-(卖1+卖2))/10000;
主力持仓:=SUM(DT,66);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:=(1+7/100)*DD;
下:=(1-7/100)*DD;
中:=(上+下)/2;
二天加仓:DT>0 AND REF(DT>0,1)
AND OPEN<中
AND CLOSE>中
AND VOL>REF(VOL,1)
AND VOL/REF(VOL,1)<2
AND COUNT(REF(C,1)<中,4)=2
AND REF(C/O,1)>1
AND HSL>2;
- 上一篇公式:通达信捡桔子波段指标(源码)
- 下一篇公式:通达信最牛及选股指标(源码)