ok了(ref(c>o,5) and ref(c<o,4) and ref(c>o,3) and ref(c<o,2) and ref(c<o,1) and c>o) or(ref(c>o,5) and ref(c<o,4) and ref(c<o,3) and ref(c>o,2) and ref(c<o,1) and c>...
{n:(1950,2100,2013);y:(1,12,3);r:(1,31,25);将以上参数输入参数栏内,参数n\y\r分别表示年、月、日,可以自由调整} 指定日期:=year=n and month=y and day=r;指定均线:=expma(c,x);cross(c,指定均线)and 指定日期;
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;macd背离:l<llv(l,10) and macd>llv(macd,10);dif赋值:收盘价的12日指数移动平均-收盘价的26日指数移动平均dea赋值:dif的9日指数移动平均macd赋值:(dif-dea)*2输出macd背离:最低价<1...