通达信ASI优化指标公式

2023-11-28 20:58发布

LC:=REF(CLOSE,1);AA:=A(HIGH-LC);BB:=ABS(LOW-LC);CC:=ABS(HIGH-REF(LOW,1));DD:=ABS(LC-REF(OPEN,1));R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));SI:=8*X/R*MAX(AA,BB);:SUM(SI,0),COLORRED,LINETHICK2;MASI:MA(ASI,34),COLORWHITE,LINETHICK2;N:=60;左峰高:=REF(HHV(ASI,N),1);:=REF(COUNT(ASI<左峰高,2)=2,1) AND ASI>左峰高;DRAWTEXT(突破,ASI*1.01,'突破'),COLORWHITE;DRAWTEXT(OSS(ASI,MASI) AND C/REF(C,1)>1.04,ASI,'黄'),COLORYELLOW;P:=1;AA1:=REF(ASI,
 解锁全文需 1  财富值,免费注册即送20财富值!