AAA预警公式
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: UPR:=BBIBOLL+6*STD(BBIBOLL,11); VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); XG: (CLOSE-OPEN)=(UPR-BBIBOLL)AND REF(C/REF(C,1)1.06,1)AND VVOLREF(V,1)*1.9; 请老师将这个AAA预警公式改成大智慧的预警公式麻烦了! 解答如下: BBIB
-
文章来源:股海网作者:股海网发布时间:2015-11-19浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
XG: (CLOSE-OPEN)>=(UPR-BBIBOLL)AND REF(C/REF(C,1)<1.06,1)AND VVOL>REF(V,1)*1.9;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
XG: (CLOSE-OPEN)>=(UPR-BBIBOLL)AND REF(C/REF(C,1)<1.06,1)AND VVOL>REF(V,1)*1.9;
请老师将这个AAA预警公式改成大智慧的预警公式麻烦了!
解答如下:
BBIBOLL:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
PERIOD:=COUNT(DATE<>REF(DATE,1),2)=2;
VVOL:=IF(BARSTATUS=1 AND PERIOD=5,VOL*240/FROMOPEN,0);
XG: (CLOSE-OPEN)>=(UPR-BBIBOLL)AND REF(C/REF(C,1)<1.06,1)AND VVOL>REF(V,1)*1.9;
UPR:=BBIBOLL+6*STD(BBIBOLL,11);
FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+MINUTE,120+60*(HOUR-13)+MINUTE);
PERIOD:=COUNT(DATE<>REF(DATE,1),2)=2;
VVOL:=IF(BARSTATUS=1 AND PERIOD=5,VOL*240/FROMOPEN,0);
XG: (CLOSE-OPEN)>=(UPR-BBIBOLL)AND REF(C/REF(C,1)<1.06,1)AND VVOL>REF(V,1)*1.9;