N:=IF(BARSCOUNT(C)
TR1:=TR0+(TR0=0)*EMA(TR0,N);
TRV:=TR1*EMA(V,1{1~5});Q:=SQRT(2);
MTR:=SUM(TR1*TRV,N)/(SUM(TRV,N));
MID:=SUM(CLOSE*TRV,N)/SUM(TRV,N);
上风险:MID+MTR*Q;
上支压:MID+MTR/Q;
中衡:MID;
下支压:MID-MTR/Q;
下风险:MID-MTR*Q;
N:=IF(BARSCOUNT(C)
TR1:=TR0+(TR0=0)*EMA(TR0,N);
TRV:=TR1*EMA(V,1{1~5});Q:=SQRT(2);
MTR:=SUM(TR1*TRV,N)/(SUM(TRV,N));
MID:=SUM(CLOSE*TRV,N)/SUM(TRV,N);
上风险:MID+MTR*Q;
上支压:MID+MTR/Q;
中衡:MID;
下支压:MID-MTR/Q;
下风险:MID-MTR*Q;