通达信MACD画框主图指标公式

2024-05-05 11:00发布

M:=.MACD;JT:=BARSLAST(OSS(M,0));ST:=BARSLAST(CROSS(0,M));Q1:=BACKSET(ST=0,2);QT:=BARSLAST(CROSS(Q1=1,0.5));QQT:=BACKSET(QT=0,JT+1);QT2:=BARSLAST(CROSS(Q1=1,0.5));HH:=HHV(H,JT+1);LL:=LLV(L,JT+1);XJH:=REFX(HH,BARSNEXT(QT2=0));XJL:=REFX(LL,BARSNEXT(QT2=0));SQ1:=BACKSET(JT=0,2);SQT:=BARSLAST(CROSS(SQ1=1,0.5));SQQT:=BACKSET(SQT=0,ST+1);SQT2:=BARSLAST(CROSS(SQ1=1,0.5));SHH:=HHV(H,ST+1);SLL:=LLV(L,ST+1);XSH:=REFX(SHH,BARSNEXT(SQT2=0));XSL:=REFX(SLL,BARSNEXT(SQT2=0));TJ1:=CONST(M)>0 AND CURRBARSCOUNT=CO
 解锁全文需 1  财富值,免费注册即送20财富值!