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

2024-02-11 19:58发布

高点:=22;:=10;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,高点);{}ZG:=IF(CURRBARSCOUNT<=CD,SH,DRAWNULL);DRAWBAND(ZG,RGB(0,0,0),ZG,RGB(0,0,0)),DOTLINE,COLORLIRED;ZD:=IF(CURRBARSCOUNT<=CD,SL,DRAWNULL);DRAWBAND(ZD,RGB(0,0,0),ZD,RGB(0,0,0)),DOTLINE,COLORLIRED;X191:=IF(CURRBARSCOUNT<=CD,SH-
 解锁全文需 1  财富值,免费注册即送20财富值!