A:=EMA(EMA(AMOUNT/10000000,5),10);MID:EMA(A,30),COLORYELLOW;B:=REF(A,1);UP:=MID+2*STD(A,30);DW:=MID-2*STD(A,30);STICKLINE(UP>REF(UP,1),UP,REF(UP,1),3,1),COLORMAGENTA;STICKLINE(DW>REF(DW,1),DW,REF(DW,1),3,1),COLORMAGENTA;STICKLINE(UP
[B,A,B,8,0),COLORRED;持空:STICKLINE(A<B,A,B,8,0),COLORCYAN;
]