关于德马克关键点的标记,逐K线运行,代码如下:
//德马克关键点
//德马克线
td_point_resis:=high<ref(high,1) and ref(high,1)>ref(high,2);
td_point_supp:=low>ref(low,1) and ref(low,1)<ref(low,2);
drawicon(td_point_resis,ref(high,1),14,0);
drawicon(td_point_supp,ref(low,1),13,0);
怎么让标记左移一个K线,显示在原本的关键点位置。

此主题相关图片如下:20150306140952.png

谢谢提供方案,现在换了种思路,加了个回测过滤,信号位置问题解决。