《自然对数》在指标中的应用(有图有代码)
DS:=LN(C)+MA(C,5);
A1:=POW(EXP(DS),1/100);
A2:EMA(A1,5);
A4:EMA(A1,20);
DRAWBAND(A2,180,A4,RGB(35,135,35));
A3:EMA(A2,5),COLORYELLOW;
STICKLINE(C>=REF(C,1),A1,A2,0,0),COLORRED;
STICKLINE(C<REF(C,1),A1,A2,0,0),COLORCYAN;
STICKLINE(C>=REF(C,1),A1,REF(A1,1),2,1),COLORRED;
STICKLINE(C<REF(C,1),A1,REF(A1,1),2,0),COLORCYAN;