转折幅度:=8;{以收盘价的转折幅度找波段高低点-这个转折幅度可以自己设置成参数,便于日常使用时调整} 低a:=const(trou**ars(c,转折幅度,2));低c:=const(trou**ars(c,转折幅度,1));高b1:=const(peakbars(c,转折幅度,1));高b2:=const(peakbars(c,转折幅度,2));高b:=if(高b1<低a and 高b1...
t1:=ref(c,2)/ref(c,3)>1.03;t2:=ref(o,1)>ref(o,2) and ref(c,1)<=ref(c,2);t3:=o>ref(o,2) and o<ref(o,1) and c<ref(c,1);xg:t1 and t2 and t3; 已测试,公式已做好,如果达到你的要求请及时采纳。