bbiboll源码: CV:=CLOSE; BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4; UPR:BBIBOLL+M*STD(BBIBOLL,N); DWN:BBIBOLL-M*STD(BBIBOLL,N); N=11,M=6; 第一个公式:开盘价在bbiboll值下方开盘,最低价低于或等于DWN,UPR高于DWN不超过4%,当收盘价同时穿过UPR、BBIBOLL,DWN时候发出选股信号。 第二公式:收盘价在UPR和bbiboll之间震荡大于等于2天,小于6天,(阴线阳线不论,只要收盘价在此区间),UPR和bbiboll之间的价差小于3%,今日在UPR下方开盘,最低点低于或等于bbiboll,当股价上穿高于bbiboll价1%,bbiboll向上拐头时,发出选股信号。先谢谢帮忙的高手。
爱约股解答:
N:=11;
M:=6;
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+M*STD(BBIBOLL,N);
DWN:=BBIBOLL-M*STD(BBIBOLL,N);
A1:=O<BBIBOLL;
A2:=L<=DWN;
A3:=(UPR-DWN)/DWN<=0.04;
A4:=CROSS(C,UPR);
A5:=CROSS(C,BBIBOLL);
A6:=CROSS(C,DWN);
XG:A1 AND A2 AND A3 AND A4 AND A5 AND A6;