通达信三角循环指标公式
2020/6/5 18:28:41
一、思路是:上次收盘价上穿收盘价的10日指数移动平均距今天数进行累计,形成循环。二、循环分为六大周期循环,用法绿关注,红钻持股买进。三、蓝色三角为大盘,30天周期的天数。可与个股30天对比强弱。四、更多的用法,还有三四种等着你来挖掘。
【大盘】:IF(BARSLAST(CROSS(INDEXC,EMA(INDEXC,30)))<BARSLAST(CROSS(EMA(INDEXC,30),INDEXC)),
BARSLAST(CROSS(INDEXC,EMA(INDEXC,30)))+1,0),LINETHICK;
DRAWBAND(【大盘】,RGB(10,20,150),0,RGB(0,0,0));
【一】:IF(BARSLAST(CROSS(C,EMA(C,10)))<BARSLAST(CROSS(EMA(C,10),C)),
BARSLAST(CROSS(C,EMA(C,10)))+1,0),COLORYELLOW;
【二】:IF(BARSLAST(CROSS(C,EMA(C,30)))<BARSLAST(CROSS(EMA(C,30),C)),
BARSLAST(CROSS(C,EMA(C,30)))+1,0),COLORRED;
【三】:IF(BARSLAST(CROSS(C,EMA(C,60)))<BARSLAST(CROSS(EMA(C,60),C)),
BARSLAST(CROSS(C,EMA(C,60)))+1,0),COLORGREEN;
【四】:IF(BARSLAST(CROSS(C,EMA(C,120)))<BARSLAST(CROSS(EMA(C,120),C)),
BARSLAST(CROSS(C,EMA(C,120)))+1,0)COLORLIBLUE,LINETHICK2;
【五】:IF(BARSLAST(CROSS(C,EMA(C,250)))<BARSLAST(CROSS(EMA(C,250),C)),
BARSLAST(CROSS(C,EMA(C,250)))+1,0),COLORBLUE;
【六】:IF(BARSLAST(CROSS(C,EMA(C,480)))<BARSLAST(CROSS(EMA(C,480),C)),
BARSLAST(CROSS(C,EMA(C,480)))+1,0),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR ,0.00,0.0,0,'神奇的9字 // 绿带关注 // 红宝石买入持股'),COLORYELLOW;
DRAWTEXT(【一】=9,【一】,'9'),COLORWHITE;
关注:=IF(【一】>0 AND 【二】>0 AND 【三】>0,-1,DRAWNULL);
DRAWBAND(关注,RGB(20,200,10),-3,RGB(0,0,0));
IF(【二】>0 AND 【三】>0 AND 【四】>0,-2,DRAWNULL),CIRCLEDOT,COLORRED;
看股吧公 式 www.kanguba.co m
其它股票公式列表