突破捉妖主图源码
MC:=100;
NN:=0.7;{0.4}
MIDZ:=MA(CLOSE,MC),COLOR00FF00;{中轨}
UPPER:=MIDZ+NN*STD(CLOSE,MC),COLORLIGRAY,LINETHICK4;{上轨}
LOWER:=MIDZ-NN*STD(CLOSE,MC),COLORLIGRAY,LINETHICK4;{下轨};
BN1:=MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1);{34}
分水岭N1:=IF(MA(CLOSE,100)<BN1,BN1,MA(CLOSE,100)),LINETHICK0;
Y1:=分水岭N1-(EMA(C,2)-分水岭N1),COLORRED,LINETHICK1;
OUT6:=CROSS(LOWER,Y1);
DRAWICON(OUT6,L*1,14);
DRAWTEXT(OUT6,L*0.96,'↖突破捉妖');