SJ:=IF(DATE+19000000<20191128 X1:=EMA(CLOSE,8)*SJ,COLORWHITE;X3: EMA(X1,16)*SJ,COLORRED;B:=BARSLAST(DAY>REF(DAY,1))+1;VAR2:=(CLOSE+HIGH+LOW)/3;VAR3:=EMA(VAR2,10);VAR4:=REF(VAR3,1);STICKLINE(VAR3*SJ>VAR4,VAR3,VAR4,2 ,0),COLORRED;STICKLINE(VAR3< VAR4 COLORGREEN;W:=BARSLAST(DATE>REF(DATE,1));OO:=REF(OPEN,W);HX:=HHV(HIGH,3);LX:=LLV(LOW,3);H1:=IF(HX
[CLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HX,4),0);L1:=IF(LX>REF(LX,1)&&LX>REF(LX,3)&&LX>REF(LX,5)&&HX>REF(HX,1)&&HX>REF(HX,2)&&HX>REF(HX,4)&&OPEN0,REF
]