通达信机构散户资金分时主图指标公式

2024-08-16 11:00发布

DRAWGBK(1,RGB(0,0,0),RGB(1,1,1),1,0,0);1:=1270915;2:=1270920;VR3:=IF(DATE>VR1,IF(CLOSE<80 VR4:=IF(DATE>VR2,1,VR3);P2:=IF(VR3=1,0,240);TC1:=IF(H=HHV(H,P2),C,DRAWNULL);TC2:=CONST(BARSLAST(TC1=H))+1;UPPER:=CONST(IF(TC2=1,C,REF(C,TC2-1)));BC1:=IF(L=LLV(L,P2),C,DRAWNULL);BC2:=CONST(BARSLAST(BC1=L))+1;LOWER:=CONST(IF(BC2=1,C,REF(C,BC2-1)));NOD:=(IF(TC2>BC2,TC2,BC2)-IF(TC2>BC2,BC2,TC2));{用时}LR1:=FORCAST(C,NOD+1);NP:=IF(CURRBARSCOUNT<=MAX(BC2,TC2),CONST(IF(MIN(TC2,BC2)=1,LR1,REF(LR1,MIN(TC2,BC2)-1)))
 解锁全文需 1  财富值,免费注册即送20财富值!