nn:=barslast(date<>ref(date,1))+1;
tt:valuewhen(h>ref(hhv(h,nn),1),time);
怎么样才能显示成今天的高点低点时间
nn:=barslast(date<>ref(date,1))+1; tth:valuewhen(h>ref(hhv(h,nn),1),time); |
ttl:valuewhen(l>ref(hhv(l,nn),1),time);
有的品种显示昨天的高点今天低点,有的品种显示昨天的低点今天高点,怎么样才能全部显示今天的高低点时间
想第一根走出来就只显示今天的高点低点时间,应该怎么写,一分钟上
nn:=barslast(date<>ref(date,1))+1;
tth:if(nn=1,opentime(1),valuewhen(h>ref(hhv(h,nn),1),time));
ttl:if(nn=1,opentime(1),valuewhen(l<ref(hhv(l,nn),1),time));
你把图表设置成只显示今天的数据