请帮忙修改公式:买B,卖S,和他们间的连线。谢谢! [通达信]
-
咨询内容:
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=(SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0));
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
OBV80:=MA(OBV,80);
OBV70:=MA(OBV,70);
OBV60:=MA(OBV,60);
OBV40:=MA(OBV,40);
OBV50:=MA(OBV,50);
OBV30:=MA(OBV,30);
OBV8:=MA(OBV,8);
OBV12:=MA(OBV,12);
AAA:=1.01*OBV80;
BBB:=0.98*OBV80;
EMA5:=EMA(CLOSE,5);
EMA10:=EMA(CLOSE,10);
EMA20:=EMA(CLOSE,20);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
ROC:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);
MAROC:=MA(ROC,6);
(((OBV>OBV30 AND MACD>0.2)AND K>65 AND C>1.0003*REF(C,1)AND C>MA(C,3)AND MA(VOL,5)>MA(VOL,8))AND OBV>AAA) OR ((C>REF(CLOSE,5)AND J<35 and="AND" CCI<-40 and="AND" ((DIFF-DEA)<-1)AND DIFF<0 and="AND" DEA<0 and="AND" c="C" >7+REF(C,1) AND C>1.0003*REF(C,1) AND C>MA(C,3) AND MA(VOL,5)>MA(VOL,8))),B;
((C
-
通达信技术部:
((C
-
通达信客服:
为什么最后一段不能显示呢?
-
网友交流:
最后一段:((C
-
网友交流:
((C
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容