布林线下轨选股预警源码分享,下轨买
源码
N:=20;
BOLL:=MA(CLOSE,N);
LB:=BOLL-2*STD(CLOSE,N);
VAR1:=1;
VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);
VAR4:=LLV(LOW,5);
VAR5:=HHV(HIGH,4);
C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1);
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1);
XG:REF(L,1)