编写要求:
上周最高收盘价到今日的直线,本周最高收盘价到今日的直线的画线公式!
www.gszx.com.cn网解答:
起点:=WEEKDAY<REF(WEEKDAY,1) AND REF(WEEKDAY,1)>REF(WEEKDAY,2);
最高:DRAWLINE(起点,REF(HHV(C,WEEKDAY),1),REF(起点,1),REF(REF(HHV(C,WEEKDAY),1),1),1);
最低:DRAWLINE(起点,REF(LLV(C,WEEKDAY),1),REF(起点,1),REF(REF(LLV(C,WEEKDAY),1),1),1);