通达信自动测幅主图指标公式

2024-02-04 07:00发布

KG1:=20;F1:=10;A1:=10;A2:=10;A3:=ZIG(1,A1);A4:=PEAK(1,A1,1); A5:=TROUGH(1,A1,1);CC:=IF((A3 < (REF(A3,1))),A4,A5),LINETHICK2;A6:=OSS((A4 - 0.02),A3);A7:=CROSS(A3,(A5 + 0.02));A8:=A2 / 100;A9:=IF((A3 < (REF(A3,1))),A8,REVERSE(A8));A10:=IF((A3 < (REF(A3,1))),A6,A7);H1:REF((CC * (1 - (A9 * 1))),BARSLAST(A10)),DOTLINE;H2:REF((CC * (1 - (A9 * 2))),BARSLAST(A10)),DOTLINE,LINETHICK0;H3:REF((CC * (1 - (A9 * 3))),BARSLAST(A10)),DOTLINE,LINETHICK0;H4:REF((CC * (1 - (A9 * 4))),BARSLAST(A10)),DOTLIN
 解锁全文需 1  财富值,免费注册即送20财富值!