input: k(2,0,2),n(10,1,255),p1(3,1,255);:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,pointdot,COLORFFFFFF;BBI2:BBI+3*STD(BBI,10),pointdot,COLORmagenta;BBI3:BBI-3*STD(BBI,10),pointdot,COLORblue;B1:=MA(CLOSE,1);B2:=(SMA(SMA(B1,2,1),2,1),2,1) ;SMA2:=MA(B2,3) ;FILLRGN(b2,sma2,b2>sma2),colorred;FILLRGN(b2,sma2,b2
=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) a