ZS:=1;
A1A:= EMA(CLOSE,9);
A1B:= A1A - EMA(CLOSE,5)
A1C:= A1A - EMA(CLOSE,5)
A1D:= BARSLAST(A1B);
A1E:= BARSLAST(A1C);
A1F:= IF(A1E 0,(CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,0);
A20:= SUM(A1F,0);
A21:= IF(A1D 0,0 - 2,0);
A22:= IF(A1E 0,SUM((CLOSE - REF(CLOSE,1))/REF(CLOSE,1) * 100,A1E),0);
A23:= A22/A1E;{九毛八公式指标网www.9m8.cn}
A25:= EMA(EMA(EMA(CLOSE,3),3),3);
多方:= (A25 - REF(A25,1) + A25) * ZS;
趋势: EMA(EMA(C,7),6) * ZS,COLORFF49FF;
IF(多方 REF(多方,1),多方,DRAWNULL),POINTDOT,COLORWHITE,LINETHICK4;
IF(趋势 REF(趋势,1),趋势,DRAWNULL),POINTDOT,COLORYELLOW,LINETHICK4;
A: EMA(EMA(C,7),6) * ZS,COLORGREEN;
B:= A REF(A,1) * ZS;
IF(B - 1,A,DRAWNULL),COLORRED;
DRAWTEXT_FIX(1,0.0,0.003,0,2),COLORYELLOW;