obv:=SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE
obv1:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv2:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv3:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv4:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv5:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv6:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv7:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv8:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv9:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv10:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv11:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv12:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv13:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv14:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv15:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv16:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv17:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv18:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv19:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obv20:=ma(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
obvzh1:=(obv1*20+obv2*19+obv3*18+obv4*17+obv5*16+obv6*15+obv7*14+obv8*13+obv9*12+obv10*11+obv10*11+obv12*9+obv13*8+obv14*7+obv15*6+obv16*5+obv17*4+obv18*3+obv19*2+obv20*1)/210;
{obvzh:=EMA(((SLOPE(obv,21) * 20) + obv),42);
obvm:=ema(obv,3);}
obvj:=SMA(obvzh1,2,1);
obvj2:sma(obvj,2,1);
obvj3:sma(obvj2,5,1);
obvj4:ma(obvj3,3);
{stickline(obvj>=ref(obvj,1),obvj,ref(obvj,1),8,1),colorred,;
stickline(obvj
opent:=ref(obvj,1);
closet:=ref(obvj,0);
B0:=REF(CLOSEt-OPENT,2);
B1:=REF(CLOSET,1);
B2:=REF(CLOSET,2);
B3:=REF(CLOSET,3);
B4:=REF(CLOSET,4);
CMAX:=MAX(MAX(MAX(CLOSET,B1),B2),B3);
CMIN:=MIN(MIN(MIN(CLOSET,B1),B2),B3);
STICKLINE(CLOSET=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND CLOSET>=B2 OR B2=CMAX AND B3=CMIN AND CLOSET>=B1 OR B3=CMAX AND CLOSET>=B1 AND CLOSET>=B2,B1,CLOSET,5,1),colorred;
STICKLINE(CLOSET=CMAX AND B1=CMIN,B2,CLOSET,5,1),colorred;
STICKLINE(CLOSET=CMIN AND (B1
STICKLINE(B1=CMIN AND CLOSET>=B2 OR (B2=CMIN AND B1<=B3 OR B3=CMIN AND B1<=B2) AND B2
STICKLINE(B1=CMAX AND CLOSET