A:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
B:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
MB:SMA((B-50)*2,3,1)+SMA((A-50)*2,3,1)/2,COLORRED;
IF((MB<=REF(MB,1)),MB,DRAWNULL),LINETHICK2,COLOR00CD66;
-100,DOTLINE;
STICKLINE(MB<-100,MB,-100,1,0),COLOR00FFFF;
STICKLINE(MB>100,MB,100,1,0),COLOR98FB98;