e:= close>=ref(high,1) and close>=ref(high,2) and close>=ref(high,3) and close>=ref(high,4) and close>=ref(high,5) and close>=ref(high,6) and close>=ref(high,7) and close>=ref(high,8) and close>=ref(high,9) and close>=ref(high,10);
x:= count(cross(ma1,ma2),5)>=1;
buy:ma1>=ref(ma1,1) and ma2>=ref(ma2,1) and e and x;
sell:ma1<=ref(ma1,1) and ma2<=ref(ma2,1) and close<=ma1;
以上是我交易系统的主要部分,我可保证此系统绩效不比中国任何收钱的吹的天花乱缀的系统差。
工作环境大智慧,权证请采用15分钟线,操作在K线完成前1-2分钟,A股用日线,操作在收盘前15分钟。普通股友请采用固定百分比帐户入场,资深股友可自行调整头寸。
优化过滤属个人机密,恕不放出。作者: 好湿 时间: 2007-11-27 14:24
怎么用?作者: 小佳 时间: 2007-11-27 14:27 作者: 小佳 时间: 2007-11-27 14:28
e:= close>=ref(high,1) and close>=ref(high,2) and close>=ref(high,3) and close>=ref(high,4) and close>=ref(high,5) and close>=ref(high,6) and close>=ref(high,7) and close>=ref(high,8) and close>=ref(high,9) and close>=ref(high,10);
e:= close>=ref(high,1) and close>=ref(high,2) and close>=ref(high,3) and close>=ref(high,4) and close>=ref(high,5) and close>=ref(high,6) and close>=ref(high,7) and close>=ref(high,8) and close>=ref(high,9) and close>=ref(high,10);
e赋值为: 当日收盘价要大于前10的最高价(true or false)
x:= count(cross(ma1,ma2),5)>=1;
x赋值为:5日平均线与10日平均线的金叉次数要大于1
buy:ma1>=ref(ma1,1) and ma2>=ref(ma2,1) and e and x;
如果e满足,x满足,并且5日均线上升,10日均线上升,则买入
sell:ma1<=ref(ma1,1) and ma2<=ref(ma2,1) and close<=ma1;
如果5日均线下降,10日均线下降 并且 收盘价小于5日均线,卖出