主题21
精华0
阅读权限10
注册时间2015-10-4
在线时间0 小时
最后登录2017-11-30
美元0
爱心果43
贡献0
- 积分
- 125
县令
- 听众
- 1
|
9#
楼主 |
发表于 2015-11-22 15:40
|
只看该作者
完美解决,谢谢朝阳老师,另外还想麻烦老师一下,我有个选股公式,选不出票来,请老师鉴定修改下,万分感谢
C85:=COST(85);
C15:=COST(15);
C95:=COST(95);
C5:=COST(5);
C100:=COST(100);
A:=(C85-C15)/C100*100;
B:=(C95-C5)/C100*100;
TJC:=REF(A<10 AND B<10,1);
HH:=IF(BETWEEN(DATE,1150601,1150630),H,-999);
T:=HHVBARS(HH,0);
CT:=BARSLAST(CURRBARSCOUNT=CONST(T)+10);
TT:=BARSLAST(L=LLV(L,T+1));
T1A:=BARSLAST(CURRBARSCOUNT=CONST(TT)+1);
W:=H=HHV(H,T1A+1) AND MONTH<8;
TW:=BARSLAST(W);
TJ:=CROSS(C,CONST(REF(H,TW)));
M5:="BX.M5#WEEK";
M10:="BX.M10#WEEK";
M20:="BX.M20#WEEK";
M60:="BX.M60#WEEK";
C1:="BX.C1#WEEK";
O1:="BX.O1#WEEK";
C2:="BX.C2#WEEK";
O2:="BX.O2#WEEK";
TJ1:=C1>O1 AND C2>O2 AND C2<C1 AND M5>M10 AND M10>M20 AND M20>M60;
WW:COUNT(TJ,TW)=1 AND TJ AND CURRBARSCOUNT<CONST(TW) AND TJ1 AND DYNAINFO(17)>1.5 AND HSL>5 AND TJC;
|
|