大智慧TTMA主图指标
源码
g1:ema(ema((c+o+l+h)/4,118),20);
g2:ema(ema(l,118),20),LINETHICK2,coloryellow;
g3:ema(ema(h,118),20),LINETHICK2,coloryellow;
g4:g2*1.2;
g5:g3*0.8;
tt:sum(c*v*v,30)/sum(v*v,30), colorwhite;
FILLRGN(G3,G2,G2>0,(RGB(95,95,95)));
tt,colorwhite;
g1,colorred;
STICKLINE(C>=O,O,C,8,1),COLORRED;
STICKLINE(C>=O,C,H,0,1),COLORRED;
STICKLINE(C>=O,L,O,0,1),COLORRED;
STICKLINE(C<O,C,O,8,0),COLORGREEN;
STICKLINE(C<O,O,H,0,0),COLORGREEN;
STICKLINE(C<O,L,C,0,0),COLORGREEN;
aa:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(aa,open,close,8,0),coloryellow;
STICKLINE(aa,low,HIGH,0.5 ,0 ),coloryellow;