通达信三角循环指标公式
通达信大私募王主图指标公式
通达信三角循环指标公式:
【大盘】: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;
通达信MACD夹心指标公式