这个指标在软件上用肉眼看失败率非常的高,可是用飞狐软件去测试的话成功率却非常的高,请
高手来说说其中的原因,到底是用肉眼看的比较真实还是用飞狐软件测试的真实。
N201007 M 2 100 5
SW1:= (EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
PP:=SUM((CLOSE-SW1)/SW1*100+20,1);
GG:=SUM((H-SW1)/SW1*100+20,1);
DD:=SUM((L-SW1)/SW1*100+20,1);
GC:=SUM(PP-GG,1);
DC:=SUM(PP-DD,1);
PP1:=SUM(CLOSE-SW1,1);
LL:=MA(PP1,8);
TT:=(C-SW1)/SW1*100;
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
B:=SMA(VAR1,N,1);
BB:=SMA(B,M,1);
LC :=REF(CLOSE,1);
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
MMS:=MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);
MM:=EMA(MMS,8);
波段启动:IF(CROSS(PP1,LL) AND MM 40 AND BB 40 AND LL 0 ,-15,-20);
DB:=IF((TT -10),-11,-20);
底部区域:=REF(DB,1);
顶部区域:=IF(CROSS(LL,PP1)AND BB 60 AND MM 70 AND LL 0 ,15,20);
STICKLINE(FILTER(波段启动=-15,1) ,-15,-20,7,0),COLORRED;
STICKLINE(FILTER(顶部区域=15,1) ,15,20,7,0),COLORGREEN;
STICKLINE(FILTER(底部区域=-11,1) ,-11,-20,7,0),COLORYELLOW;
明天买入:=IF((GC -6),-9,-20);
明天买入2:=IF((GC -6 AND BB 40 AND MM 40 ),-9,-20);
明天卖出:=IF((DC 6 AND BB 40 AND MM 60),9,20);
逢低抢反弹:REF(明天买入,1),COLORYELLOW,LINETHICK1;
反弹行情:REF(明天买入2,1),COLORRED,LINETHICK1;
风险:REF(明天卖出,1),COLORGREEN,LINETHICK1;
DRAWICON(FILTER(反弹行情=-9 AND BB 40 AND MM 40 ,1),-6,10);