ema10:=ema(c,10);ema60:=ema(c,60);longcross(ema10,ema60,1)=1;注释:最后用的是正好当日金叉;如果加macd的话,建议先导入macd的源码,然后条件语句可改为 longcross(ema10,ema60,1)=1 and cross(macd,0)=1;
1、“今天涨5%以上,”,这句是昨天涨5%以上,今天开盘为跳空高开:f:=(c-ref(c,1))/ref(c,1)*100;xg:ref(f,1)>5 and o>ref(h,1);---------------------------------2、跳空高开,一字涨停:f:=(c-ref(c,1))/ref(c,1)*100;一字涨停:o>ref(h,1) and o=h a...