请老师修改一下kdj 低位金叉后4日内macd也金叉。最后5日内或者同时出现布林线喇叭口 喇叭口公式 {BOLL} BOLL:=MA(CLOSE,20); UPPER:=BOLL+2*STD(CLOSE,20); LOWER:=BOLL-2*STD(CLOSE,20); BIASBOLL:=(UPPER-LOWER)/LOWER*100; XG:=COUNT(BIASBOLL>REF(BIASBOLL,1),3)>0 AND COUNT(BIASBOLL0 AND C>UPPER; XG=1; 谢谢老师了
爱约股解答:
{BOLL}
BOLL:=MA(CLOSE,20);
UPPER:=BOLL+2*STD(CLOSE,20);
LOWER:=BOLL-2*STD(CLOSE,20);
BIASBOLL:=(UPPER-LOWER)/LOWER*100;
XG:=COUNT(BIASBOLL>REF(BIASBOLL,1),3)>0 AND COUNT(BIASBOLL<11,3)>0 AND C>UPPER;
XG=1;
JC:=CROSS(KDJ.J,KDJ.K) AND KDJ.J<20 ;
T:=BARSLAST(JC);
REF(T>1 AND T<=4 AND CROSS(MACD.MACD,0),1) AND XG=1;