通达信周月涨幅指标公式

2024-08-30 18:00发布

A:=BARSLAST(WEEKOFYEAR!=REF(WEEKOFYEAR,1));YA:=BARSLAST(MONTH!=REF(MONTH,1));JA:=MOD(MONTH,3);JD:=BARSLAST(OSS(JA,0.5));NA:=BARSLAST(YEAR!=REF(YEAR,1));QT:=BACKSET(A=0,2);YQT:=BACKSET(YA=0,2);JQT:=BACKSET(JD=0,2);NQT:=BACKSET(NA=0,2);T:=BARSLAST(CROSS(QT=1,0.5));YT:=BARSLAST(CROSS(YQT=1,0.5));JT:=BARSLAST(CROSS(JQT=1,0.5));NT:=BARSLAST(CROSS(NQT=1,0.5));CC:=REF(REF(C,T),1);YC:=REF(REF(C,YT),1);JC:=REF(REF(C,JT),1);NC:=REF(REF(C,NT),1);周:(C-CC)/CC*100,LINETHICK1 ;月涨幅:(C-YC)/YC*100 ,COLORMAGENTA;{
 解锁全文需 1  财富值,免费注册即送20财富值!