b:=ma(close,17)+ma(close,17)-ref(ma(close,17),1);分水岭:=if(ma(close,17)<b,b,ma(close,17));操作线:=分水岭-(ema(c,3)-分水岭);买入红箭头:=cross(分水岭,操作线);var1:=ema(ema(close,9),9);控盘:=(var1-ref(var1,1))/ref(var1,1)*1000;主力控盘:=cross(控盘,0);买入红箭头 and 主力控盘; 20210311
转折幅度:=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...
**集中度:=(cost(90+(100-90)/2)-cost((100-90)/2))/(cost(90+(100-90)/2)+cost((100-90)/2))*100/2;xg:**集中度>ref(**集中度,1) and **集中度>ref(**集中度,5) and c<ref(c,1) and c<ref(c,5) and ref(c,5)/ref(c,1)&...