九毛八公式指标
公式模块:
ZF:=12;
H1BAR:=PEAKBARS(4,ZF,1);
L1BAR:=TROUGHBARS(4,ZF,1);
K:=IF(H1BAR>L1BAR,0,-1);
TBAR:=TROUGHBARS(4,ZF,2+K);
ZF:=12;
H1BAR:=PEAKBARS(4,ZF,1);
L1BAR:=TROUGHBARS(4,ZF,1);
TBAR:IF(H1BAR>L1BAR,TROUGHBARS(4,ZF,2),TROUGHBARS(4,ZF,1));