看图说话(左右投机)
{连续4根阴线,含平盘收盘情形。主要要区分对待(规避)去年的两大浪的1000点杀爹时候。。}
BTJ01:EVERY(C<O,4);
{统计四根阴线或者更多根阴线以后的跌幅 }
BTJ02:=100*IF(BTJ01=1 AND SUM(BTJ01,2)=1,C/REF(C,3)-1,DRAWNULL)LINETHICK3;{只有4天的累计跌幅}
BTJ03:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=2,C/REF(C,4)-1,DRAWNULL)LINETHICK3;{只有5天的累计跌幅};
BTJ04:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=3,C/REF(C,5)-1,DRAWNULL)LINETHICK3;{只有6天的累计跌幅};
BTJ05:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=4,C/REF(C,6)-1,DRAWNULL)LINETHICK3;{只有7天的累计跌幅};
BTJ06:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=5,C/REF(C,7)-1,DRAWNULL)LINETHICK3;{只有8天的累计跌幅};
BTJ07:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=6,C/REF(C,8)-1,DRAWNULL)LINETHICK3;{只有9天的累计跌幅};
BTJ08:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=7,C/REF(C,9)-1,DRAWNULL)LINETHICK3;{只有10天的累计跌幅};
BTJ09:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=8,C/REF(C,10)-1,DRAWNULL)LINETHICK3;{只有11天的累计跌幅};
BTJ10:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=9,C/REF(C,11)-1,DRAWNULL)LINETHICK3;{只有12天的累计跌幅};
BTJ11:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=10,C/REF(C,12)-1,DRAWNULL)LINETHICK3;{只有13天的累计跌幅};
BTJ12:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=11,C/REF(C,13)-1,DRAWNULL)LINETHICK3;{只有14天的累计跌幅};
BTJ13:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=12,C/REF(C,14)-1,DRAWNULL)LINETHICK3;{只有15天的累计跌幅};
BTJ14:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=13,C/REF(C,15)-1,DRAWNULL)LINETHICK3;{只有16天的累计跌幅};
BTJ15:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=14,C/REF(C,16)-1,DRAWNULL)LINETHICK3;{只有17天的累计跌幅};
BTJ16:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=15,C/REF(C,17)-1,DRAWNULL)LINETHICK3;{只有18天的累计跌幅};
BTJ17:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=16,C/REF(C,18)-1,DRAWNULL)LINETHICK3;{只有19天的累计跌幅};
BTJ18:=100*IF(BTJ01=1 AND SUM(BTJ01,3)=17,C/REF(C,19)-1,DRAWNULL)LINETHICK3;{只有20天的累计跌幅};
BTJ02+BTJ03+BTJ04+BTJ05+BTJ06+BTJ07+BTJ08+BTJ09+BTJ10+BTJ11;
{后面会对这种特殊情形的累跌的阴线的 上影 累计长度做统计,意味着 从起跌开始 未来可能调整的深度的一种可能性}
- 上一篇:通达信精准的抄底副图指标 2016/9/29
- 下一篇:主升爆涨【指标 副图 通达信 贴图】 2016/9/29