股票之友S理论修改优化集——牛别跑特优
2013-09-12 23:13:00来源:本站整理浏览:817
TIPS: 去掉未来函数也一样出色!
AA:=REF(CLOSE,1);
BBB:=MA(MAX(CLOSE-AA,0),16)/MA(ABS(CLOSE-AA),16)*1000;
HHH:=BBB-LLV(BBB,20);
CCC:=LLV(BBB,20)-BBB;
QQ:=(MA(HHH,2)*3+HHH*13)/16,COLORFF00FF,LINETHICK1;
SS:=(MA(CCC,2)*3+CCC*13)/16,COLORFF00FF,LINETHICK1;
GG:=MA(HHH,5),LINETHICK1,COLORGREEN;
MM:=MA(CCC,5),LINETHICK1,COLORGREEN;
WW:=IF(QQ<GG,SS,MM),LINETHICK1,COLOR0000FF;
EE:=IF(SS<MM,GG,QQ),COLORFFFFCC,LINETHICK1;
★买:=IF(EE-WW<5.6,200,0);
RSVV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
VARB2:=(RSVV/2+22)*1;
量:=MA(VOL,9);
资金:=MA(AMOUNT,9);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
BB:=ABS(L-C)<ABS(H-C)*5;
黄金:=((提纯 < (0)) AND BB),COLORRED;
买AA:=黄金 AND (RSVV<(VARB2*0.7) AND C<REF(C,1)*0.99);
特准:=买AA>0;
买进:FILTER(特准=1,5);