CJL3
2016-8-28 19:27:16点击:
预测趋势,控制风险,左进右出,上证指数,大盘指数
V1=IF(CLOSE>OPEN,VOL*(xd+(HIGH-LOW)/CLOSE*ff),0);
V2=IF(CLOSE>OPEN,0,VOL*(xx-(HIGH-LOW)/CLOSE*ff));
V3=V1+REF(v1,1)+REF(v1,2)+REF(v1,3)+REF(v1,4)+REF(v1,5)+REF(v1,6)+REF(v1,7)+REF(v1,8)+REF(v1,9);
V4=V2+REF(V2,1)+REF(V2,2)+REF(V2,3)+REF(V2,4)+REF(V2,5)+REF(V2,6)+REF(V2,7)+REF(V2,8)+REF(V2,9);
V5=V3+V4;
jbb:EMA(V5,short)/1000000000;
jbbc:EMA(V5,Long)/1000000000;
JJ10=EMA(CLOSE,10);
JJ0=EMA(CLOSE,1);
JJ5=EMA(CLOSE,5);
JJ20=EMA(CLOSE,20);
MMm:(jbb+jbbc+JJ5*2)/4;
MM=(jbb+jbbc)/2;
IF V5<REF(V5,1) AND (REF(mm,2)>REF(mm,3) AND mm<REF(mm,2))
THEN
SELL=0;
IF V5>REF(V5,1) AND (REF(mm,2)<REF(mm,3) AND mm>REF(mm,2) )
THEN
BUY=0;
IF mmm>REF(mmm,1) AND mm >REF(mm,1)
THEN
BUY;
IF mmm<REF(mmm,1) AND mm <REF(mm,1)
THEN
SELL;