AA:=SUMBARS(,CAPITAL);:=IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),>MA(VOL,AA)*33/10 ),NODRAW;{}MTR2:=EXPMEMA(MAX(MAX(HIGH-LOW,A(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),5);HD2 :=HIGH-REF(HIGH,1);LD2 :=REF(LOW,1)-LOW;DMP2:=EXPMEMA(IF(HD2>0 OR HD2>LD2,HD2,0),5);DMM2:=EXPMEMA(IF(LD2>0 OR LD2>HD2,LD2,0),5);PDI2:=DMP2*100/MTR2,COLORWHITE,LINETHICK3;2:=DMM2*100/MTR2,COLORYELLOW,LINETHICK2;ADX2:=EXPMEMA(ABS(MDI2-PDI2)/(MDI2+PDI2)*100,6),COLORFF00FF;ADXR2:=EXPMEMA(ADX2,6),COLORGREEN;DRAWBAND(PDI2,RGB(100,0,5