通达信黄金分割线画线主图指标公式

2024-03-16 04:00发布

N:=80;M:=3;高:=7.41;低:=4.30;MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20),LINETHICK1;MA60:MA(CLOSE,60),LINETHICK1;{高:=REF(HHV(H,N),M);低:=REF(LLV(L,N),M);}{自动定位法}H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;顶点:REFDATE(高,DATE),DOTLINE,COLORWHITE;H61.8%:REFDATE(H38,DATE),DOTLINE,COLORMAGENTA;H50%:REFDATE(H中,DATE),DOTLINE,COLORRED;H38.2%:REFDATE(H61,DATE),DOTLINE,COLORMAGENTA;:REFDATE(低,DATE),DOTLINE,COLORWHITE;DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,H38.2%,'H38.2%'),
 解锁全文需 1  财富值,免费注册即送20财富值!