通达信看图说话(左右投机)源码

{连续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;

{后面会对这种特殊情形的累跌的阴线的 上影  累计长度做统计,意味着 从起跌开始 未来可能调整的深度的一种可能性}




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图