本指标是EMA均线主图,多头排列上60日线称第一阳,上120日线称第2阳 DRAWBAND(EMA(C,12),RGB(158,38,168),EMA(C,30),RGB(8,166,168));DRAWKLINE(H,O,L,C); A:EMA(C,5); A1:=EMA(C,12); A2:=EMA(C,30); A3:EMA(C,50),COLORRED,LINETHICK2; A4:MA(C,120); B:=CROSS(C,A3) AND C>O;DRAWTEXT(B,L-0.05,'★第1阳'),COLORYELLOW; B1:=CROSS(C,A4) AND C>O;DRAWTEXT(B1,H+0.05,'★第2阳'),COLORWHITE; B2:=CROSS(A3,A4);DRAWTEXT(B2,A4-0.5,'★★多头牛'),COLORYELLOW; C6:=REF(C,1); 涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0); STICKLINE(涨停,OPEN,CLOSE,3,0),COLORYELLOW; STICKLINE(涨停,H,L,0,0),COLORYELLOW; DRAWTEXT_FIX(1,0.68,3,0,'★森财投资出品★'),COLORRED; DRAWTEXT_FIX(1,0.78,3,0,HYBLOCK),COLORYELLOW; DRAWTEXT_FIX(1,0.88,1,0,'★投资需谨慎★'),COLORWHITE; |
