通达信浩瀚分时通道指标公式

2024-09-09 22:00发布

P2:=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)));LP:=CURRBARSCOUNT<=BC2 AND C=LOWER;{定位}HP:=CURRBARSCOUNT<=TC2 AND C=UPPER;{高点定位}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))),DRAWNULL),POINTDOT,COLORFF0000;{近点}LR2:
 解锁全文需 1  财富值,免费注册即送20财富值!