公式非常不错。大智慧和通达信、同花顺通用源码,用法是:黄线上穿横行虚线,预示上涨开始(横行虚线收缩预示大的变盘),中间的实线收缩预示短期变盘,如果长期的横行虚线与中间的实线收缩,且黄线上穿横行虚线,预示大的趋势开始,在获利这块要注意利用趋势线或者其它方式判断,奥秘远不止这些,源码发出后,我们一起交流!
修正一处错误,把最后一行的“HIDEVAL”删除,否则黄色曲线数值不显示
RR:=(HHV(EMA(EMA(C,5)-EMA(C,13),1),3)+ABS(LLV(EMA(EMA(C,5)-EMA(C,13),1),3)))/2;
RR/4*4,COLOR0000FF;
RR/4*3,COLORAAAA00;
RR/4*2,COLOR00AA00;
RR/4*1,COLOR00AAAA;
0000,POINTDOT,COLORAAAAAA,HIDEVAL;
-RR/4*1,COLOR00AAAA,HIDEVAL;
-RR/4*2,COLOR00AA00,HIDEVAL;
-RR/4*3,COLORAAAA00,HIDEVAL;
-RR/4*4,COLOR0000FF,HIDEVAL;
R:=(HHV(EMA(EMA(C,5)-EMA(C,13),1),100)+ABS(LLV(EMA(EMA(C,5)-EMA(C,13),1),100)))/2;
R/4*4,COLOR0000AA;
R/4*3,COLORAAAA00; R/4*2,POINTDOT,COLOR00AA00;
R/4*1,POINTDOT,COLOR00AAAA;
0000,POINTDOT,COLORAAAAAA;
-R/4*1,POINTDOT,COLOR00AAAA,HIDEVAL;
-R/4*2,POINTDOT,COLOR00AA00,HIDEVAL;
-R/4*3,COLORAAAA00,HIDEVAL;
-R/4*4,COLOR0000AA,HIDEVAL;
OOOOO:EMA(EMA(C,5)-EMA(C,13),1),LINETHICK2,COLORYELLOW,HIDEVAL;