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

2024-03-17 08:00发布

高点:=50;:=30;GD:=CONST(FINDHIGH(H,0,高点*10,1));DD:=CONST(FINDLOW(L,0,低点*10,1));GT:=CONST(BARSLAST(GD=H))+1;DT:=CONST(BARSLAST(DD=L))+1;SH:=CONST(IF(GT=1,H,REF(H,GT-1)));SL:=CONST(IF(DT=1,L,REF(L,DT-1)));CC:=IF(DT>GT,DT,GT);CD:=INTPART(CC-(DT+GT)/2);CG:=IF(高点>CD,CD/2,高点);下跌:BARSLAST(GD=H),COLORWHITE,NODRAW;下:IF(CURRBARSCOUNT<=GT,C/SH*100-100,DRAWNULL),NODRAW,COLORGREEN;下跌:IF(CURRBARSCOUNT<=GT,SUM(AMOUNT,GT)/SUM(V,GT)/100,DRAWNULL),NODRAW,COLORLIGRAY;跌%:IF(CURRBARSCOUNT<=GT,SUM(HSL.HSL,GT),
 解锁全文需 1  财富值,免费注册即送20财富值!